Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » Feature request: DropGrid shifts to edit text mode if dynamic search results in 0 matches
Feature request: DropGrid shifts to edit text mode if dynamic search results in 0 matches [message #30257] |
Tue, 21 December 2010 02:38  |
alendar
Messages: 47 Registered: January 2010 Location: Idaho, USA
|
Member |
|
|
Hi,
I love GridCtrl and DropGrid, they are fantastic products. Would it be possible to enhance DropGrid to enact a StartEdit against the Value attribute if the dynamic match comes up with 0 matches?
This would be similar to the behavior of a Microsoft ComboListBox function.
I looked through the code but it's over my head. Somehow the value attribute in DropGrid has be related to an edit field. Is it displayed in the GridPopUpHeader::Paint?
Perhaps a function could be added to DropGrid, "DropGrid &EditOnNoMatch(bool b = true)".
If not, I'll just use the AddPlus().
Thanks,
Al
cd7651feeb698f6ac6cec1f6deda5e5b
|
|
|
Re: Feature request: DropGrid shifts to edit text mode if dynamic search results in 0 matches [message #30436 is a reply to message #30257] |
Fri, 31 December 2010 00:37  |
|
alendar wrote on Mon, 20 December 2010 20:38 | Hi,
I love GridCtrl and DropGrid, they are fantastic products. Would it be possible to enhance DropGrid to enact a StartEdit against the Value attribute if the dynamic match comes up with 0 matches?
This would be similar to the behavior of a Microsoft ComboListBox function.
I looked through the code but it's over my head. Somehow the value attribute in DropGrid has be related to an edit field. Is it displayed in the GridPopUpHeader::Paint?
Perhaps a function could be added to DropGrid, "DropGrid &EditOnNoMatch(bool b = true)".
If not, I'll just use the AddPlus().
Thanks,
Al
|
Great you found gridctrl useful As for your suggestion it's a bit complicated in current code but I'll see what I can do. Maybe it's not so hard to implement.
|
|
|
Goto Forum:
Current Time: Tue May 13 17:10:52 CEST 2025
Total time taken to generate the page: 0.02701 seconds
|