EditorGadget EventType 256
Posted: Tue Feb 12, 2013 9:38 am
Hi folks,
currently supports the EditorGadget() only the event: #PB_EventType_Change
But I need some more, especially the event: #PB_EventType_Focus
I found out, if I click into an inactive Editor Gadget, it sends the EventType = 256.
What is it? Can I use it safely?
currently supports the EditorGadget() only the event: #PB_EventType_Change
But I need some more, especially the event: #PB_EventType_Focus
I found out, if I click into an inactive Editor Gadget, it sends the EventType = 256.
What is it? Can I use it safely?
Code: Select all
If OpenWindow(0, 0, 0, 322, 150, "EditorGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
EditorGadget(0, 8, 8, 306, 133)
Repeat
Event = WaitWindowEvent()
If Event = #PB_Event_Gadget
Debug EventType()
EndIf
Until Event = #PB_Event_CloseWindow
EndIf