Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 6 of 6 total |
TButtonComboBox "no selection key" |
Thu, Dec 1 2016 6:10 AM | Permanent Link |
Matthew Jones | I'm writing an application using a TButtonComboBox to filter on categories. The client wants a key they can press to go back to the start of "no selection" to show all. Escape doesn't work (and might close the dialog). Anyone got any suggestions on what might work, or how to make something work?
I separately have an issue with it and losing focus, in that if you type "b" and then the list is updated, and then "L" it doesn't go to "bl" but "L", which I need a solution to, but not sure where the focus is being stolen... If I could keep the key history somehow it would be nice. -- Matthew Jones |
Thu, Dec 1 2016 4:06 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Matthew,
<< I'm writing an application using a TButtonComboBox to filter on categories. The client wants a key they can press to go back to the start of "no selection" to show all. Escape doesn't work (and might close the dialog). Anyone got any suggestions on what might work, or how to make something work? >> Is the drop-down visible at this time, or not ? << I separately have an issue with it and losing focus, in that if you type "b" and then the list is updated, and then "L" it doesn't go to "bl" but "L", which I need a solution to, but not sure where the focus is being stolen... If I could keep the key history somehow it would be nice. >> Are you sure that it's a focus issue and not just an issue with the time in-between keystrokes ? The default is 200 msecs, but I need to surface a way for you to modify this in the control. The TListBox control *does* surface this property, but it's not available with the TButtonComboBox control due to the fact that it's nested. Tim Young Elevate Software www.elevatesoft.com |
Thu, Dec 1 2016 4:59 PM | Permanent Link |
Matthew Jones | The list is not dropped down but changes from the focused Color to
unfocused. I temporarily commented out my list filler and it stayed focused but no code in the list implies focus change from my looking. |
Fri, Dec 2 2016 1:16 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Matthew,
<< The list is not dropped down but changes from the focused Color to unfocused. I temporarily commented out my list filler and it stayed focused but no code in the list implies focus change from my looking. >> Is this related to your other post ? I'm not sure why your embedded forms are auto-focusing. They should only do so if they *aren't* parented to another control. IOW, if they're parented to the application surface, then they auto-focus, otherwise they don't. Is it possible that you're creating the forms parented to the application surface, and then changing their parent to another control ? Tim Young Elevate Software www.elevatesoft.com |
Mon, Dec 5 2016 5:01 AM | Permanent Link |
Matthew Jones | Tim Young [Elevate Software] wrote:
> Is it possible that you're creating the forms parented to the application surface, and then changing their parent to another control ? This is in the FormList code, which I posted somewhere, but is basically Result := TfrmTaskDetail.Create(xObject); where xObject is the FormList component that is basically a listbox modified. I can't see anything about parents in the help other than the Parent property of TControl. I presume that an owner is by default the parent unless otherwise specified? -- Matthew Jones |
Tue, Dec 6 2016 11:49 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Matthew,
<< I can't see anything about parents in the help other than the Parent property of TControl. I presume that an owner is by default the parent unless otherwise specified? >> Yes, an owner is, by default, the parent unless the owner *isn't* a TControl, in which case the parent is nil until assigned specifically. Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Friday, December 6, 2024 at 05:39 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |