![]() CountGadgetItems(): Returns the number of items currently in the #Gadget. ClearGadgetItems(): Remove all the items. AddGadgetItem(): Add an item (with an optional image in the standard 16x16 icon size). ![]() RemoveGadgetColumn(): Remove a column from the gadget. AddGadgetColumn(): Add a column to the gadget. The following functions can be used to act on the list content: Then the return-value is the auto-generated gadget number on success.Ī 'mini help' can be added to this gadget using GadgetToolTip(). If #PB_Any was used as the #Gadget parameter Returns nonzero on success and zero on failure. The "in between" state can be set programmatically using the SetGadgetItemState() function. The user can only select the "on" or "off" states. #PB_ListIcon_CheckBoxes flag to get checkboxes that can have an "on", "off" and "in between" state. The #PB_ListIcon_ThreeState flag can be used in combination with the #PB_ListIcon_AlwaysShowSelection: The selection is still visible, even when the gadget is not activated (Windows only). #PB_ListIcon_HeaderDragDrop : The order of columns can be changed using drag'n'drop. #PB_ListIcon_FullRowSelect : The selection covers the full row instead of the first column (Windows only). #PB_ListIcon_GridLines : Display separator lines between rows and columns (not supported on Mac OSX). #PB_ListIcon_MultiSelect : Enable multiple selection. #PB_ListIcon_ThreeState : The checkboxes can have an "in between" state. #PB_ListIcon_CheckBoxes : Display checkboxes in the first column. It can be a combination of the following values: The width of the first column in the gadget.įlags to modify the gadget behavior. The gadget is created with one initial column. The title for the first column in the gadget. The position and dimensions of the new gadget. But why would it and why after running precisely four different tabs and how does it remember which was the fourth tab?Ĭan anyone try to reproduce the problem? Just past the code I pasted above in four different tabs and then run them one after the other.Result = ListIconGadget(#Gadget, x, y, Width, Height, FirstColumnTitle$, FirstColumnWidth ) DescriptionĬreates a ListIcon gadget in the current GadgetList.Ī number to identify the new gadget. If the window was at 1920x1080 and upscaled to the 3840x2160 then that might look like what I'm getting. That is higher than the 1920x1080 that windows recommends but has never caused a problem before. I have a 2080 super card and a 65 inch tv as a monitor. Or maybe it is a problem with the specific hardware on my computer. I thought it might be a bug in the debugger but I turned it off and no difference. I thought it might be a compiler bug that generated code that left windows in a strange state. But the need to run four programs to get the problem suggests that that is not the problem. I have had problems with white space characters and corrupted characters causing compiler issues. And I could get a bad program into the clipboard and past it to another tab and still be bad. I was writing an application that used threads and the thread safe compiler option was sometimes checked and later unchecked.Īs far as I can tell the compiler options are the same in all of the tabs. I had some weird behavior with the editor recently where depending on which tab was focused I got different compiler options. Now the original works fine but I have a copy on my windows clipboard that if I post it to another tab will run with the incorrect resolution. I'm not sure how that will help since I cannot recreate the problem even with copy and pasted code. Until Event = #PB_Event_CloseWindow Or Quit = #True Life(invrt(flag), x, y) = life(flag, x, y) If StartDrawing(ImageOutput(#IMAGE_MAIN))ĭrawImage(ImageID(#IMAGE_MAIN), 15*x, 15*y) OpenWindowedScreen(WindowID(#WINDOW_MAIN), 0, 0, ScrW, ScrH, 0, 0, 0) OpenWindow(#WINDOW_MAIN, 0, 0, ScrW, ScrH, "Windowed Screen", #FLAGS) #FLAGS = #PB_Window_SystemMenu | #PB_Window_ScreenCentered
0 Comments
Leave a Reply. |