Search found 7 matches

by blz
Tue May 04, 2021 9:39 pm
Forum: Bugs Reports
Topic: PopupMenu destroying/recreating doesn't work
Replies: 0
Views: 643

PopupMenu destroying/recreating doesn't work

Hi guys, Seems there is an issue with updating Popup menus. I'm trying to add/remove items dynamically destroying/recreating the menu with the same MenuID. Code works as expected in PureBasic. Thanks, ; Original layout of menu. (Example code from the docs.) If CreatePopupMenu(0) MenuItem(1, "Cu...
by blz
Fri Apr 23, 2021 5:55 pm
Forum: Bugs Reports
Topic: Editor and StringGadgets lose Focus when Window area is clicked
Replies: 0
Views: 245

Editor and StringGadgets lose Focus when Window area is clicked

Hi all, An issue with EditorGadget and StringGadget. - Clicking window title/borders (or moving/resizing the window) makes the blue focus-border disappear and the gadgets lose Focus: #PB_EventType_LostFocus is triggered. - However, releasing the mouse button we can still continue typing into the gad...
by blz
Fri Apr 23, 2021 5:36 pm
Forum: Bugs Reports
Topic: TreeGadget SetGadgetState() and other issues
Replies: 0
Views: 186

TreeGadget SetGadgetState() and other issues

Hi, Please find some further issues with TreeGadget below. - TreeGadget doesn't respond to SetGadgetState(id, -1) <- works OK in PB - TreeGadget SetGadgetState() doesn't auto-expand selected nodes if selection is under a collapsed node <- works OK in PB - TreeGadget doesn't scroll to the selected it...
by blz
Tue Apr 20, 2021 8:25 am
Forum: Bugs Reports
Topic: TreeGadget: Issues with EventTypes
Replies: 0
Views: 228

TreeGadget: Issues with EventTypes

Hi, It seems there is an inconsistency in the order of TreeGadget EventTypes being sent. ListIcon and ListView gadgets send them in below order when clicking on a new item: #ListIcon... #PB_EventType_Change #ListIcon... #PB_EventType_LeftClick #ListView... #PB_EventType_Change #ListView... #PB_Event...
by blz
Mon Apr 19, 2021 12:01 pm
Forum: Bugs Reports
Topic: ContainerGadget + ResizeGadget() ignores #PB_Ignore
Replies: 2
Views: 262

Re: ContainerGadget + ResizeGadget() ignores #PB_Ignore

Thanks for having a look, Peter.
I haven't tested it without the border, good to know it works without one.
by blz
Mon Apr 19, 2021 8:58 am
Forum: Bugs Reports
Topic: ContainerGadget + ResizeGadget() ignores #PB_Ignore
Replies: 2
Views: 262

ContainerGadget + ResizeGadget() ignores #PB_Ignore

Please see below example. Thanks, ; ContainerGadget + ResizeGadget() ignores #PB_Ignore and keeps expanding both x&y directions Enumeration #win0 EndEnumeration Enumeration Gadgets #Container0 #Button0 EndEnumeration Procedure SizeWindowEvent() Select EventWindow() Case #win0 ; #PB_Ignore is use...
by blz
Wed Apr 14, 2021 12:52 pm
Forum: Bugs Reports
Topic: SplitterGadget issue if #PB_Splitter_SecondFixed used
Replies: 0
Views: 267

SplitterGadget issue if #PB_Splitter_SecondFixed used

Hi all, It seems SplitterGadget doesn't work as it should if #PB_Splitter_SecondFixed is used. Please see the example code below. Enumeration #Button1 #Button2 #Splitter EndEnumeration If OpenWindow(0, 0, 0, 400, 300, "SplitterGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered) ; |...