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
ADVERTISEMENT
Feb 15, 2012
I am currently using DevExpress 11.2 within Visual Studio 2010. Currently I am using two DevExpress.XtraBars.BarEditItem which gives me two check boxes (with a label) in my menu bar (DevExpress.XtraBars.Bar) at the top of my windows form. Right now I have working code so that when one checkbox is clicked it unchecks/checks the other checkbox and executes code specific to that box. This works.
My problem is that the DevExpress.XtraBars.BarEditItem does not have a check changed event. Currently I am using the EditValueChanged event as the checked check box is set to True and the unchecked checkbox is set to false. However the EditValueChanged event isn't called until the checkbox looses focus. This doesn't work for me as I want it instantaneous. I looked into the itemClick and ItemPress events but they don't give me the new editvalue and if someone presses on the caption (rather than the box portion) it still fires. Is there someway to get the event right away??
I am looking in two different older projects (both in Visual Studio 2008 and using DevExpress 9.2 and 10.2) and it looks like it does everything the same way as me yet the EditValueChanged event fires right away without any lose of focus.
View 1 Replies
Sep 8, 2009
I would like to send accelerator keys to another application that is not currently the active window. As a test case, I am trying to control Notepad. Code I am currently trying to use is posted below. I have been working on this for almost a full day (and night) without success.
When I run the code below, Notepad "beeps" and displays an additional "o" character in the edit control, rather than activating the File->Open dialog as desired. Winspector Spy seems to show that Notepad is receiving the appropriate messages based on comparison to messages that are received when I type the accelerator keys manually. So I ought to be fairly close. What am I missing?
[Code]...
View 1 Replies
Mar 30, 2011
In my company, we make software which we use to test certain skills and intelligence factors of people. Some of those tests are time bound. On the test page, there is an asp control that shows the time remaining. When you right click that control, the javascript that provides the time is interrupted. To solve that, we disabled right-clicking. But now i've noticed that if you do a selection of some text and click the IE8 accelerator blue button, the javascript is also interrupted. Disabling the left-click if of course no option.
I've found an option in IE that disables the accelerator, so for us internally, the issue is solved. But we would like to find another solution, just because we cannot ask every one of our customers to go disable that option on all their computers.
[Code]...
View 4 Replies
May 25, 2009
I created one download accelerator using vb.net. now I integrate that application in IE(i.e when user click on any download link it should open my application instead of normal download window.for example the system having Internet download manager(IDM) ,when we click on any download link in Internet explore it automatically open IDM instead of notmal popup. same thing I need to do in my application.
View 1 Replies
Oct 21, 2008
I have a problem detecting whether one of the arrow keys is pressed, all the other keys seem to be detected apart from the arrow keys??? I have set key preview to True........ It detects the arrrow keys BUT ONLY if I have NO other controls on the form??? example..
Me.Text = e.keycode
It works, but then if I add a button for example, it stops.
View 3 Replies
Jun 25, 2011
just wondering how i could give my auto typer hot keys, for example they press f1 to start the typer f2 to stop it.
[Code]...
View 4 Replies
Mar 25, 2011
I'm trying to create a shortcut which expands or collapses my treeview using the ctrl+alt+up-arrow or ctrl+alt+down-arrow:
If Keys.ControlKey And e.KeyCode = Keys.Alt And e.KeyCode = Keys.Down Then
mytreeview.ExpandAll()
End If
[code].....
View 2 Replies
Jan 13, 2011
How could I loop through a list of the keys that are available in the 'Keys' enumeration? It seems like it should be something easy to do, but I'm not having any luck finding a collection that I can loop through.
View 6 Replies
Aug 21, 2008
In a Previous Thread, I asked some questions about how to create graphics. Everything was OK, until I realized that the graphics are really slow. While I was trying to find out what the problem was, I realized that the processor load was about 50% and my graphics card was not used at all. So doesn't Visual Basic use the Graphics Accelerator to process graphics? What I made is not a real program. It's like an experiment (I tried to make an image flip). Here is the Code:
[Code]...
View 1 Replies
Dec 17, 2009
how to focus a particular Row in devexpress
View 4 Replies
Mar 31, 2011
I have a problem with the combox its only displaying the first item in the list its being populated by a webserice call the drop down in question is comboboxmodel now the manufacture one is fine and sets as it should any reason as to why the comboboxmodel would not. [code]
View 1 Replies
Feb 12, 2010
I want to add CheckBox at DevExpress's xtraGrid columm so for this what should i do
View 1 Replies
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
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
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
Jun 16, 2011
what version of devexpress is more subtable for vb.net 2008?
View 1 Replies
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
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
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
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
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
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
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
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
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
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
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
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
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