I've been looking for 2 hours and I can't find the solution!!!
I have an editable ComboBoxGadget.
I retrieve text fine when I type characters.
What I can't do is detect if it's the ENTER key that I'm typing, which would mean that I've finished typing and I could add this element to the ComboBoxGadget!
I tested several Eventypes, used KeyBoardDown, queried ChatGPT... without correct results...
It should perhaps be easy but here, I'm stuck...
Thank you for your help
Code: Select all
If GadgetID = Combo_Themes
Select EventType()
Case #PB_EventType_Change
Combo_Themes_Saisie = GetGadgetText(Combo_Themes)
Debug Combo_Themes_Saisie
EndSelect
EndIf
