For instance: When typing in a gadget command's Flags parameter, force the top of the Autocomplete list to the relevant PureBasic constants.
Some examples:
Code: Select all
\id = ButtonImageGadget(#PB_Any, \X, \Y, \Wd, Ht, ImagesInUse(\imgNr)\hnd, ...User Hits [Ctrl+Space] here...)
;...Autocomplete lists the following...
#PB_Button_Toggle
\id = OpenWindow(wID, \x, \y, \wd, \ht, \Txt, ...User Hits [Ctrl+Space] here...)
;...Autocomplete lists the following...
#PB_Window_BorderLess
#PB_Window_Invisible
#PB_Window_Maximize
#PB_Window_MaximizeGadget
#PB_Window_Minimize
#PB_Window_MinimizeGadget
#PB_Window_NoGadgets
#PB_Window_ScreenCentered
#PB_Window_SizeGadget
#PB_Window_SystemMenu
#PB_Window_TitleBar
#PB_Window_Tool
#PB_Window_WindowCentered