Posted: Wed Jun 17, 2009 9:31 am
I see a list of identifiers that should be your constants,
but I do not see how those receive their values.
but I do not see how those receive their values.
http://www.purebasic.com
https://www.purebasic.fr/english/
Code: Select all
If OpenWindow(0, 0, 0, 540, 310, "OptionGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
ContainerGadget(0, 30, 130, 400, 40, #PB_Container_Flat)
OptionGadget(1, 40, 8, 170, 20, "Subsidio de Natal 50%")
OptionGadget(2, 250, 8, 175, 20, "Subsidio de Natal 100%")
CloseGadgetList()
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf
Code: Select all
...
ContainerGadget(#Frm_Ctnr_Vacation, 30, 100, 400, 40, #PB_Container_BorderLess)
OptionGadget(#Opt_Vacations_50, 5, 5, 170, 20, "Subsidio de Férias 50%")
OptionGadget(#Opt_vacations_100, 215, 5, 175, 20, "Subsidio de Férias 100%")
CloseGadgetList()
; Frame3DGadget(#Frm_ctnr_Christmas, 30, 130, 400, 40, "")
ContainerGadget(#Frm_ctnr_Christmas, 30, 130, 400, 40, #PB_Container_BorderLess)
OptionGadget(#Opt_Christmas_50, 5, 5, 170, 20, "Subsidio de Natal 50%")
OptionGadget(#Opt_Christmas_100, 215, 5, 175, 20, "Subsidio de Natal 100%")
CloseGadgetList()
...