We have several MDI child forms with lot (50-100) of textboxes, comboboxes, etc. I would like to provide Edit->cut/copy/Paste menus in my main form's main menu. I would like to enable/disable these BarItems when text is selected or copied into clipboard.
Is there a better way than registering for text selected for each textbox and enable/disable?
What is the efficient way of achieving this?
RPRamesh Praveen Syncfusion Team March 20, 2003 01:26 PM
You could listen to the BeforePopup event of the parent and update the state of the baritems there. But, note that if you provide shortcuts then the Click will be fired when the user keys that shortcut without any notification.
We will be adding support for Command Updates via UpdateCommandUI events in a future version, soon.