![]() ![]() RemoveGadgetItem(4, GetGadgetState(4)) Remove the current element of the ListViewĮvent = #PB_Event_CloseWindow Case 11 Enable PlugIn. SetGadgetText(0, GetGadgetText(4)) Get the current item from the ListView.ĪddGadgetItem(4, -1, "New Item Added.") If Event = #PB_Event_Gadget Select EventGadget()ĭisableGadget(2,0) Enable the 'Stop' gadgetĭisableGadget(1,1) Disable the 'Play' GadgetĭisableGadget(1,0) Enable the 'Play' gadgetĭisableGadget(2,1) Disable the 'Stop' Gadget GadgetToolTip(7, "Select the current song") The following procedure is used by the PureBasic IDE to adjust gadget sizes to fit the text they contain. PanelGadget(3, 20, Top, #WindowWidth-50, #WindowHeight-Top-60)ĪddGadgetItem(4, -1, "Music Song n° "+ Str(k)) Sources PureBasicConsultez toutes les sources. ![]() If OpenWindow(0, 100, 200, #WindowWidth, #WindowHeight, "PureBasic - Gadget Demonstration", #PB_Window_MinimizeGadget)įrameGadget( #PB_Any, 10, Top, 370, 290, "Player.") : Top+20 ![]()
0 Comments
Leave a Reply. |