Yes that works, thanks!
It's strange that the default behavior accepts tab but not backtab, but this works for me!
Search found 16 matches
- Tue May 13, 2025 2:54 pm
- Forum: Coding Questions
- Topic: deindent in scintilla
- Replies: 4
- Views: 853
- Mon May 12, 2025 10:01 pm
- Forum: Coding Questions
- Topic: deindent in scintilla
- Replies: 4
- Views: 853
deindent in scintilla
I've just noticed I can no longer de-indent in Scintilla. I'm pretty sure it used to work.
Tab works to indent but shift-tab does not de-indent. It seems to just go to another gadget. At one time I removed the keyboard shortcut for tab and in a comment I wrote that it fixed indenting, but yeah it's ...
Tab works to indent but shift-tab does not de-indent. It seems to just go to another gadget. At one time I removed the keyboard shortcut for tab and in a comment I wrote that it fixed indenting, but yeah it's ...
- Thu Apr 04, 2024 7:36 pm
- Forum: Linux
- Topic: unable to readprogramstring on debian 12 in LightDM/Openbox for some reason
- Replies: 3
- Views: 2054
Re: unable to readprogramstring on debian 12 in LightDM/Openbox for some reason
I figured out the bug. When reading the program output, you have to keep reading even after the program exits, as data will be queued up. So annoying!
This might be simplified by not reading any output until after it's done running, but I will need to test that. Anyway, here's the final working ...
This might be simplified by not reading any output until after it's done running, but I will need to test that. Anyway, here's the final working ...
- Wed Apr 03, 2024 5:34 pm
- Forum: Linux
- Topic: unable to readprogramstring on debian 12 in LightDM/Openbox for some reason
- Replies: 3
- Views: 2054
Re: unable to readprogramstring on debian 12 in LightDM/Openbox for some reason
Yes, and the command works when I type the command in xterm.
- Wed Apr 03, 2024 4:07 am
- Forum: Linux
- Topic: unable to readprogramstring on debian 12 in LightDM/Openbox for some reason
- Replies: 3
- Views: 2054
unable to readprogramstring on debian 12 in LightDM/Openbox for some reason
Hello all,
I am having a problem with RunProgram. I am running software but when I try to read the output, it is completely blank, but it is only blank when I'm running it on a stripped down version of Debian 12. If I'm using my full install of Debian 12 with LXQT it reads the program just fine ...
I am having a problem with RunProgram. I am running software but when I try to read the output, it is completely blank, but it is only blank when I'm running it on a stripped down version of Debian 12. If I'm using my full install of Debian 12 with LXQT it reads the program just fine ...
- Thu Jan 18, 2024 12:32 am
- Forum: The PureBasic Editor
- Topic: Form Builder not working properly, unable to place widgets
- Replies: 2
- Views: 879
Re: Form Builder not working properly, unable to place widgets
Yeah looks like that was it, thanks!
- Tue Jan 16, 2024 2:33 am
- Forum: The PureBasic Editor
- Topic: Form Builder not working properly, unable to place widgets
- Replies: 2
- Views: 879
Form Builder not working properly, unable to place widgets
Hello,
I'm unable to place widgets properly. The form keeps limiting them to a line on the form and I can't move the widgets beyond that.
This occurs on 6.04 LTS and 6.10 Beta 2
Example:
https://www.playpi.net/wp-content/uploa ... ebasic.mp4
I'm unable to place widgets properly. The form keeps limiting them to a line on the form and I can't move the widgets beyond that.
This occurs on 6.04 LTS and 6.10 Beta 2
Example:
https://www.playpi.net/wp-content/uploa ... ebasic.mp4
- Sun Sep 03, 2023 1:54 am
- Forum: Coding Questions
- Topic: gscintilla giving error "[ERROR] Overflow in a dynamically allocated memory block.
- Replies: 3
- Views: 764
gscintilla giving error "[ERROR] Overflow in a dynamically allocated memory block.
The error is occurring around line 309: caretPos = ScintillaSendMessage(*this\id, #SCI_GETCURLINE, numUtf8Bytes+1, *utf8Buffer)
I removed the +1 on numUtf8Bytes and that fixed it, but I'm not entirely sure what this does, so I'm worried about problems later.
Any ideas on how to fix? The error ...
I removed the +1 on numUtf8Bytes and that fixed it, but I'm not entirely sure what this does, so I'm worried about problems later.
Any ideas on how to fix? The error ...
- Fri Aug 04, 2023 4:56 pm
- Forum: Coding Questions
- Topic: imageGadget and loadImage size problems
- Replies: 4
- Views: 858
Re: imageGadget and loadImage size problems
Ah yes I see, DesktopScaledX and DesktopScaledY does look like the best way to do this. Thank you!
- Fri Aug 04, 2023 5:53 am
- Forum: Coding Questions
- Topic: imageGadget and loadImage size problems
- Replies: 4
- Views: 858
imageGadget and loadImage size problems
Hello,
I don't seem to be getting the correct size with an image when trying to use an imageGadget.
I'm on Windows 11 using 150% scale.
I'm using Compiler: 6.03 beta 3
I do have "Enable dpi aware executable" selected.
The imageGadget seems to be the right size when the image is not loaded, so I ...
I don't seem to be getting the correct size with an image when trying to use an imageGadget.
I'm on Windows 11 using 150% scale.
I'm using Compiler: 6.03 beta 3
I do have "Enable dpi aware executable" selected.
The imageGadget seems to be the right size when the image is not loaded, so I ...
- Tue Dec 13, 2022 5:17 pm
- Forum: Coding Questions
- Topic: a way to check if toolbar button is being held by the mouse?
- Replies: 9
- Views: 780
Re: a way to check if toolbar button is being held by the mouse?
This was the first thing I tried, sadly there's no mouse down event for the toolbar.
I think I can come up with a simpler method, the user presses the toolbar button and then presses escape for the ok dialog box, and I'll just monitor the mouse position. I'll give that a try instead
I think I can come up with a simpler method, the user presses the toolbar button and then presses escape for the ok dialog box, and I'll just monitor the mouse position. I'll give that a try instead

- Tue Dec 13, 2022 4:05 pm
- Forum: Coding Questions
- Topic: a way to check if toolbar button is being held by the mouse?
- Replies: 9
- Views: 780
Re: a way to check if toolbar button is being held by the mouse?
I don't think that will work as the toolbar has no drag&drop functionality and I can't call a private drag and drop until after the buttons already released.
- Tue Dec 13, 2022 5:07 am
- Forum: Coding Questions
- Topic: a way to check if toolbar button is being held by the mouse?
- Replies: 9
- Views: 780
a way to check if toolbar button is being held by the mouse?
Hello all. Is there a way to check if a toolbar button is actively being held by the mouse?
I want the user to click on a toolbar icon and hold the left button, and then move the mouse, and then I plan on getting the mouse position until they let go. However, I see the Event documentation doesn't ...
I want the user to click on a toolbar icon and hold the left button, and then move the mouse, and then I plan on getting the mouse position until they let go. However, I see the Event documentation doesn't ...
- Wed Mar 10, 2021 9:21 pm
- Forum: General Discussion
- Topic: #PB_EventType_Change doesn't trigger on a checkbox change
- Replies: 9
- Views: 2422
Re: #PB_EventType_Change doesn't trigger on a checkbox chang
I don't think I would call that a feature request. From this list it seems to me that checkmarks should trigger #PB_EventType_Change, how else would one know that the checkbox had changed other than checking on every #PB_Event_Gadget event (and having a very large list of if/then statements to check ...
- Wed Mar 10, 2021 8:49 pm
- Forum: General Discussion
- Topic: #PB_EventType_Change doesn't trigger on a checkbox change
- Replies: 9
- Views: 2422
#PB_EventType_Change doesn't trigger on a checkbox change
This would be most helpful to me if it could trigger when a checkbox is changed!
See example:
If OpenWindow(0, 0, 0, 270, 160, "CheckBoxGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
StringGadget (0, 10, 10, 150, 20, "String Gadget")
CheckBoxGadget(1, 10, 40, 250, 20, "CheckBox ...
See example:
If OpenWindow(0, 0, 0, 270, 160, "CheckBoxGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
StringGadget (0, 10, 10, 150, 20, "String Gadget")
CheckBoxGadget(1, 10, 40, 250, 20, "CheckBox ...