I have a context in a grid control, in which when I only click on the menu, buttons are displayed, when I click on an element, the grid should be enabled for me to edit only the row that I am selecting. I have the grid disabled.
I use devxpress.
Related
I am using keyboardaAvoidView tag and i have one button and one text input box above keyboard but when I click on input box the button gets hide, but I don't want that button to hide, is it possible to set keyboardaAvoidView fixed height so that the button is not getting hide
I have vb.net application.
I have a form which contains tab control and have several tab pages.
In below image we can see the second tab have been selected.
I want to capture mouse click event if I click anywhere when tab page 2 is selected.
Note : I have several controls on tab page 2.
How to do that ?
I have a couple of radio buttons in one my of tabs in the dialog and based on the radio button selected, I need to display the other tabs(i.e. tab2 or tab3) and initially my tab2 and tab3 will remain hidden.
I have achieved this using drop-down but now need to implement the same using radio buttons.
please help me on this
thanks in advance.
selection xtype can be rendered as dropdown, combobox, checkboxes or radio buttons. So if you have already wriiten logic to hide and unhide tabs based on the value selected in the dropdown, simply adding type property with value radio (string) should ensure that the selection is rendred as radio buttons.
I have a context menu strip on my form which is displayed on right click on the datagridview.
Problem is the menu is displayed on the upper right corner while I want to show it on the location where mouse is clicked.
Please advise.
Thanks
A ContextMenuStrip could be automatically shown by a DataGridView at the location of the MouseDown click event.
For this to happen it is necessary to associate the property ContextMenuStrip to the actual instance of your menu strip. You could do this either by code or directly in the designer
DataGridView1.ContextMenuStrip = ctxMenu;
Is there anyway to programmatically force a MenuItem to raise their popup event? Basically, if you click on it with your stylus or finger, it shows the MenuItem collection for that specific MenuItem. I'd like to be able to do by using a button that I capture.
If you add your menu items to a ContextMenu you can then call ContextMenu.Show with a position and it will show the context menu at that position.
So you could do that in your button click event. Or did you want to 'fake' taps on the menu buttons on the soft menu bar?