Focus A Particular Row In Devexpress?

Dec 17, 2009

how to focus a particular Row in devexpress

View 4 Replies


ADVERTISEMENT

VS 2008 Devexpress Tabcontrol Set Focus Coding?

Nov 30, 2009

I have a created a program that allows the user to select an option button and that button takes them to the correct tab. Ive set all the tabs to visable = false untill the option button has been selected. The problem i am having is setting the focus, so the button sgoes to the tab instead of just making it visable again.

View 2 Replies

Forms :: Changing The Backcolor Of A Control When It Has Focus And Lost Focus?

Feb 16, 2011

Is there a more efficient/easier way changing the backcolor of a control when it has focus and lost focus? Let's say I've got 10 text boxes. Right now I would have 20 different events...10 for Enter event and 10 for Leave event. Of course, entering would change the back color to "green" and leaving would change it back to "white".

[Code]....

View 4 Replies

Window Focus - Right Click On The NotifyIcon, Excel Gains Focus?

Mar 10, 2009

Here is what I've done:1) Created an Excel COM add-in for Excel 20032) Added a NotifyIcon to the Windows taskbar notification area (aka system tray) during ThisAddIn_Startup3) Added a ContextMenuStrip with a ToolStripButton to the NotifyIconWhy is it when I right click on the NotifyIcon, Excel gains focus? If after clicking on the NotifyIcon to display the ContextMenuStrip I choose not select an option on the ContextMenuStrip and instead click back on the Excel window, I get a weird flashing cell in Excel.I've created a video of the problem to help you see what I [url] anyone know how to prevent this? Ideally, I'd like to be able to click back on Excel and only have the ContextMenuStrip close and Excel regain focus.

View 1 Replies

Forms :: Form Losing Focus - Keeps Loosing Focus ?

Nov 26, 2009

I have two forms in an application. One is he background and then I show another keypad form called with the show() method (not showDialog) because I need to perform some validations on btn click.

The kepad has 10 buttons and an Enter Button. The problem is that the form keeps loosing focus (I checked this with a messagebox which keeps poping up once for focus=true and again for focus=false, it continuously keeps losing and gaining focus) so it does not process any keypress events untill i click somewhere on the form. I tried using me.focus() in form load event but to no avail. The forms TopMost property is also set to true.

View 5 Replies

Add CheckBox At DevExpress XtraGrid?

Feb 12, 2010

I want to add CheckBox at DevExpress's xtraGrid columm so for this what should i do

View 1 Replies

Can't Un-select DevExpress LookUpEdit?

Oct 28, 2010

I have a DevExpress LookUpEdit that I am using withing Visual Studio 2008 in VB.Net. I have the LookUpEdit bound to my datasource and the value that it is displaying may be null or one of the rows in the datasource. My program displays a treelist and when a node is select the LookUpEdit is supposed to display the assigned value (could be null) and let the user reassign the value. I do have the LookUpEdit.Properties.AllowNullInput set to True. Right now when the program first starts if the first node in the treelist I choose has a null value the LookUpEdit displays nothing, if I change the value of the LookUpEdit the value changes in the database, if I change to a node that has a value for the LookUpEdit the value does display.

The problem is that if I switch from a node with a value to one without the LookUpEdit displays the previous value. I have gone through the debugger and it is still going through the fetch properly.

I have tried to reset the LookUpEdit.Text, LookUpEdit.EditValue and LookUpEdit.SelectedText but nothing works. I even replicated the conditions that the LookUpEdit has when it first displays nothing (LookUpEdit.Text = "" and LookUpEdit.EditValue = " ") but it still displays the last value.

[Code]...

The values are set. The problem is that in the act of setting the value the dropdown menu opens. So I get it to close with lueLocation.ClosePopup(). For some reason when it gets called it changes the .Text and .EditValue back to the previous values and thus calls the TextChanged Event.

View 2 Replies

Get Devexpress LookupEdit Value Member Value?

Feb 15, 2012

I want to know how to get the value member value in lookupEdit.I set the DisplayMember as prior to SupplierNameAnd ValueMember to SupplierIDThe code below displays both and SupplierName as the text in lookupedit..what I want is to keep the SupplierName as the Display but I want to get the supplierID when saving it to databaseScenario: want the value of the Supplier ID for example 001 - Supplier1 Thedisplay text in the look up is Supplier1 what I want is the 001

Private Function LoadSupplierData()
Dim bResult As Boolean
Dim SQLcmd As New System.Text.StringBuilder

[code]....

View 1 Replies

How To Tell When DevExpress FindPanel Is Closed

Oct 4, 2011

I am currently programming in Visual Studio 2010 within VB.NET and am using DevExpress v10.2. I just started programming with the WinForms XtraGrid FindPanel and so far it works wonders. However I was wondering if there is any way to know when the user closes the FindPanel. Right now if gridview.OptionsFind.AllowFindPanel is True and gridview.OptionsFind.AlwaysVisible is False then the user is able to click on the x and close the FindPanel. Is there anyway to catch this closing? I don't want to stop it just do a couple of things once it is hidden or closed.

View 1 Replies

What Version Of Devexpress Is More Suitable

Jun 16, 2011

what version of devexpress is more subtable for vb.net 2008?

View 1 Replies

C# - Books With A Focus On .NET Framework And Not So Much With A Focus On The Language Used?

Jul 18, 2010

recommend a book that focuses on the .NET framework in general and isn't too language specific.

View 3 Replies

Lost Focus Event, What Control Is Getting Focus?

Mar 21, 2012

I have a textbox on a form that when it loses focus it updates other text boxes on the form. But before it updates the other textboxes I check the input value in the textbox lostfocus event if it is undesired I return focus to the the textbox and alert the the user with a msgbox. However where my problem is, is that when the cancel button is clicked I don't care what the input in the textbox is because the changes are being canceled but if the value is undesired the it keeps returning focus to the textbox instead of canceling the changes. Is there a way to see what control was clicked on before or in the lost focus event? Can't seem to figure it out tried enter and leave events but no luck!

So for example something like this...

Code:
Private Sub TextBox1_LostFocus(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.LostFocus
If Control that was clicked <> btnCancel then

[Code].....

View 2 Replies

.net - Devexpress LookupEdit Is Not Displaying The Selected Row For The Last Row?

Jul 23, 2010

I am using DevExpress.XtraEditors.LookUpEdit to display the information about the classes available. Currently it has 3 columns. The lookupedit is working perfectly except when I set the editValue to the last row. When the editvalue is set to any row other than the last one it shows the selected row when the lookupedit isn't opened yet when the lookupedit is set to the last row nothing is displayed.

[Code]...

Right now the lookupedit displays the selected text unless I select the last row, row number tableData.Rows.Count which then displays nothing. Yet when I print the values they are correct and when I remove the +1 when setting the lookupedit it sets it to the previous line I want an the first row can't be displayed.

View 1 Replies

.net - Trigger Button Through Code In Devexpress?

Jan 16, 2012

This Code Work fine with ordinary button but the button in devexpress provided me some error. It says that sender and e are not declared..

Protected Overrides Function ProcessCmdKey(ByRef msg As System.Windows.Forms.Message, ByVal keyData As System.Windows.Forms.Keys) As Boolean

[Code]....

View 2 Replies

Fill A Devexpress.LookUpEdit With Set Values?

Feb 22, 2011

I have a Devexpress LookUpEdit that I want to fill with 2-3 values. For example "Value 1" (1) and "Value 2" (2). I want this name to be displayMember of the LookUpEdit and the number in brackets be the valueMember so that if I was given the number 1 I know to set the selected value of the LookUpEdit to "Value 1".

View 1 Replies

Hid The Column Header For A Devexpress GridLookUpEdit?

Nov 26, 2010

I currently have a DevExpress GridControl where one of the columns have a GridLookUpEdit assigned under ColumnEdit. Yet when I run there is a column name (the display member) that shows up.I know with a LookUpEdit you can set the column headers to invisible with lookupedit.Properties.ShowHeader = False but I have no clue how to make it invisible for the GridLookUpEdit.

View 3 Replies

Program 2008 Isn't Recognizing DevExpress

Jun 3, 2010

I have been working in Visual Studio which has DevExpress. My project now doesn't recognize DevExpress so I now have 102 errors on lines like:[code]...

In addition to this when I try to go to the designer for my DevExpress report it can't load the designer :

"The designer could not be shown for this file because none of the classes within it can be designed. The designer inspected the following classes in the file: rptAll --- The base class 'Object' could not be loaded. Ensure the assembly has been referenced and that all projects have been built."

Yet when I look in my toolbox the DevExpress tools (XRLine, XRLabel...) are still shown and DevExpress is still located in my reference folder.

View 1 Replies

Return A Value From A Custom DevExpress ButtonEdit?

Dec 27, 2011

I have a custom EditButton that shows a dialog for the user to select a value.This is used by an xtra grid as an editor for a cell.The user can click the cell editor, the dialog shows and they can select the item they want.

View 1 Replies

Saving DevExpress Ribbon Layout?

May 5, 2012

I made a devexpress ribbon and have a ribbon page for dynamic controls which gets added by the end-user. I would like to know how to save it when the form closes, so the next time the user opens he/she will have the control. Since devexpress ribbon control doesn't have RibbonControl1.SaveLayoutToXml(), is it possibe to do it?

View 2 Replies

Validation In ASPXUpload Control In Devexpress + XPO?

Dec 16, 2011

I have added ASPXUploadControl to save the Image File.I want to apply Validation (Required Field Validation) on this control.. but i dont find ValidationSetting Tag in this Control

<asp:FileUpload runat="server" ID="fuAttachment" CssClass="mediumResolution required" Width="100%" />

View 1 Replies

Override The DevExpress Filter Choices In GridControl?

Oct 5, 2011

I am currently programming in Visual Studio 2010 within VB.NET and am using DevExpress v10.2, specifically WinForms. In the DevExpress GridControl at runtime you can click on the right side of the column header and choose which values in the column you want to show. For example if your table contained:

Name1 Checked
Name2 Unchecked
Name3 Unchecked
Name4 Checked

Then if you click on the right side of the checkbox's header you can choose checked (or unchecked) and it would display only the data that is checked (or unchecked). In this case with checked you would have:

Name1 Checked
Name4 Checked

I was wondering if there was some way to override the names so instead of letting me choose checked or unchecked I could override it with 'owned' and 'rented' or 'active' and 'inactive' based on what the checkbox represents in that specific column.

View 1 Replies

.net - Devexpress (10.2) GridControl Isn't Letting Null Value In Column

Jul 21, 2011

I am using VB.net within Visual Studio 2008. I currently have GridControl where one of the columns fetches a real number from the database. Whenever I try to remove the value I get a red 'X' saying that the input string is not the right format even though I know it can display null because the row underneath fetched a null value for that column.

View 1 Replies

Allow The DevExpress.XtraTab.XtraTabControl Have Its Tabs At The Bottom?

Mar 19, 2012

I am using DevExpress 11.2 within Visual Studio 2010 and I am currently using the DevExpress.XtraTab.XtraTabControl within my form. I love the way the tabs look; however, I would like the tabs to be located at the bottom of the TabControl rather than the top.

View 1 Replies

Cell In Devexpress Treelist Is Set To Editable Yet It Won't Let Me Edit

Jul 18, 2011

I am using a DevExpress (10.2) Treelist in my VB.Net project in Visual Studio 2008. I currently have a treelist with TreeList.OptionsBehavior.Editable = True. I have two columns were the first one is AllowEdit = False. The second column I am setting the AllowEdit and ReadOnly dynamically though the action FocusedNodeChanged.

Within the FocusedNodeChange subroutine I check if a specific value is in the row and if so I set it to be editable or non-editable. I am setting it to be editable with[code]...

View 1 Replies

Devexpress (10.2) GridControl Isn't Letting Null Value In Column?

Oct 1, 2010

I am using VB2008 on Win XP SP3 and an relatively new using this language. I would like orientation or advice on how to proceed given the following:I execute an SQL statement, such as select * from MyTable where FieldX='aaa'An exception happens. Now I need to attempt to determine what went wrong:1. Cable was cut2. Syntax error in SQL3. PC where SQL Server is running crashed4. Timed outI need to attempt to recover from this issue. I have basically 2 options: It is a glitch that self corrects after a period of time, so I can just go ahead and retry the operation a few times. Option 2: It is something permanent, so no matter how many times I retry, the error will persist.

View 3 Replies

Devexpress - Making A Call From One Usercontrol To Another Form

Aug 28, 2010

I have a tabcontrol that creates tab pages from a "User Control" I created (a separate form in vb.net) using this code: (MainTab is the separate user control I created which has text boxes etc in it)

Dim tmpTab As New MainTab
myTabControl.TabPages.Add()
Dim tmpTabCount As Integer = myTabControl.TabPages.Count
myTabControl.TabPages.Item(tmpTabCount - 1).Controls.Add(tmpTab)
myTabControl.TabPages.Item(tmpTabCount - 1).Text = "Untitled"

I'm using the devexpress xtratab control so the code might look a bit different than the default vb.net tab control.

Now in my MainTab user control file file, I can't for the life of me figure out how to call a control in the form1 where the xtra tab control is placed on. "Me.Parent.Dispose" works for closing the tab when executed via the MainTab control, but that's as far as I can get for communicating with the parent from.

I'm not sure if I have to reference something in the MainTab user control or what in order to communicate with any objects on the default form1.

View 1 Replies

DevExpress Accelerator Keys Not Showing In XtraBars

Dec 3, 2010

I'm using DevExpress 2010 vol 1, VS2010 and VB.NET. In my form I have a xtraBar which is used to create the application main menu. Each of the menu items were carefully captioned using the ampersand char (&) to create the keyboard accelerator key, so when user press ALT key and hit the accelerator key the menu is shown. The problem is I can't make the underscore show in any caption. For instance, my first menu "File" has caption "&File", but the "F" is never underscore, and pressing ALT + F doesn't work either.

[Code]....

View 1 Replies

Join Doesn't Working In LINQ In Devexpress XPO

Nov 23, 2011

I have used persistance class and used following LINQ query.[code]but it throws an error saying. "Specified Method is not Supported".How can i get data from two table using XPO Persistance Class?

View 1 Replies

.net - Mailing Address Is Forcing 2nd Record In CSV (DevExpress Controls)?

Apr 20, 2010

My DevExpress CSV export has two lines per record.

Rank Score,Prog.,Full Address
63.30 ,JIW ,1234 Whispering Pines Dr
, ,Sometown MI 48316
62.80 ,JIW ,9876 Beagle Dr
, ,Sometown Twp MI 48382

I would like to change it to one line because I want to do a Word Merge. (Unless Word can merge these two lines back together, which I do not thing it can do)

[Code]...

View 1 Replies

Add A Menu Item To The Default Right-click On Devexpress Treelist?

Dec 3, 2010

I have a DevExpress (version 9.2) TreeList that by default displays a menu containing sort ascending/descending, column chooser, and best fit when you right-click on the header of the tree.

How would I add more choices to this default menu?

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved