Thanks for the suggestion kenmo, I will look into ScintillaGadget.kenmo wrote:As someone who has also written a UART serial monitor in PureBasic... I highly recommend you use the ScintillaGadget instead of the EditorGadget!
Search found 18 matches
- Mon Jul 13, 2020 10:20 am
- Forum: Coding Questions
- Topic: Am I using EditorGadget() correctly to display a character?
- Replies: 15
- Views: 4188
Re: Am I using EditorGadget() correctly to display a charact
- Mon Jul 13, 2020 9:36 am
- Forum: The PureBasic Form Designer
- Topic: ToolBarImageButton() and optional Text$ a no go
- Replies: 6
- Views: 13345
Re: ToolBarImageButton() and optional Text$ a no go
@Marc56us
Thanks for your post
PS. The FD is not perfect, but over the last 20 years many people have criticized it, tried to do better and none of them have finished... Personally, I use it every day. You just have to take the time to figure out what he can and can't do. Moreover, a Form is not ...
Thanks for your post
PS. The FD is not perfect, but over the last 20 years many people have criticized it, tried to do better and none of them have finished... Personally, I use it every day. You just have to take the time to figure out what he can and can't do. Moreover, a Form is not ...
- Sun Jul 12, 2020 6:38 am
- Forum: Coding Questions
- Topic: Am I using EditorGadget() correctly to display a character?
- Replies: 15
- Views: 4188
Re: Am I using EditorGadget() correctly to display a charact
does this help, use a static variable to hold the string so you can append the text
Yes and no. Yes in the fact that I could dump a whole line of text into the EditorGadget() but the no side is the source of input to the variable isn't consistent and there is no consistent delimiter (carriage ...
Yes and no. Yes in the fact that I could dump a whole line of text into the EditorGadget() but the no side is the source of input to the variable isn't consistent and there is no consistent delimiter (carriage ...
- Sun Jul 12, 2020 2:03 am
- Forum: The PureBasic Form Designer
- Topic: ToolBarImageButton() and optional Text$ a no go
- Replies: 6
- Views: 13345
ToolBarImageButton() and optional Text$ a no go
Hello,
In the Form Designer when creating a ToolBar with image there appears to be no properties option to enter the optional text to display with ToolBarImageButton()
From the help file
ToolBarImageButton()
Syntax
ToolBarImageButton(#Button, ImageID [, Mode [, Text$]])
Description
Add an image ...
In the Form Designer when creating a ToolBar with image there appears to be no properties option to enter the optional text to display with ToolBarImageButton()
From the help file
ToolBarImageButton()
Syntax
ToolBarImageButton(#Button, ImageID [, Mode [, Text$]])
Description
Add an image ...
- Sun Jul 12, 2020 1:21 am
- Forum: Coding Questions
- Topic: Am I using EditorGadget() correctly to display a character?
- Replies: 15
- Views: 4188
Re: Am I using EditorGadget() correctly to display a charact
So it looks like there's a few ways to add a character at a time to EditorGadget()
Some behave different to others on different OS platforms... I've only been successful if I read the contents back, add a character and send the new data to EditorGadget() again with Linux - Windows just seems to ...
Some behave different to others on different OS platforms... I've only been successful if I read the contents back, add a character and send the new data to EditorGadget() again with Linux - Windows just seems to ...
- Sat Jul 11, 2020 11:55 pm
- Forum: Coding Questions
- Topic: Am I using EditorGadget() correctly to display a character?
- Replies: 15
- Views: 4188
Re: Am I using EditorGadget() correctly to display a charact
@RASHAD
Didn't see your reply till after my last post but yep 2147483647 being the line limit makes sense now.
@infratec and @davebar
I think their might be a discrepancy between the English and German help as I too was confused.
English help:
SetGadgetItemText(): Set the specified line text ...
Didn't see your reply till after my last post but yep 2147483647 being the line limit makes sense now.
@infratec and @davebar
I think their might be a discrepancy between the English and German help as I too was confused.
English help:
SetGadgetItemText(): Set the specified line text ...
- Sat Jul 11, 2020 11:32 pm
- Forum: Coding Questions
- Topic: Am I using EditorGadget() correctly to display a character?
- Replies: 15
- Views: 4188
Re: Am I using EditorGadget() correctly to display a charact
@infratec
Thanks for your reply. Your code works on Linux and Windows
@davebar
Thanks also for your reply. Interestingly your example works fine on Windows but NOT Linux...? Linux displays one character and the cursor is left flashing after that character. Debugging the code I can see both the ...
Thanks for your reply. Your code works on Linux and Windows
@davebar
Thanks also for your reply. Interestingly your example works fine on Windows but NOT Linux...? Linux displays one character and the cursor is left flashing after that character. Debugging the code I can see both the ...
- Sat Jul 11, 2020 2:21 am
- Forum: Coding Questions
- Topic: Am I using EditorGadget() correctly to display a character?
- Replies: 15
- Views: 4188
Am I using EditorGadget() correctly to display a character?
Hello PureBasic users. I'm requesting help with EditorGadget()
I've created a small terminal program to receive characters from the serial port. While the program works as required, I do have a quirk with the display of text that I can't seem to fix.
I've created a GUI window with EditorGadget ...
I've created a small terminal program to receive characters from the serial port. While the program works as required, I do have a quirk with the display of text that I can't seem to fix.
I've created a GUI window with EditorGadget ...
- Sun Jul 05, 2020 11:53 am
- Forum: Coding Questions
- Topic: No frame showing between GTK2 and GTK3...
- Replies: 4
- Views: 1041
Re: No frame showing between GTK2 and GTK3...
So after testing multiple desktops and Linux installs as virtual machines, They all ran fine.
I've installed a few other desktops on my Debian install and narrowed my issue down to only MATE on Debian 9. I have yet to find the exact cause why MATE desktop is not displaying a GTK3 frame correctly ...
I've installed a few other desktops on my Debian install and narrowed my issue down to only MATE on Debian 9. I have yet to find the exact cause why MATE desktop is not displaying a GTK3 frame correctly ...
- Sun Jul 05, 2020 10:16 am
- Forum: Coding Questions
- Topic: No frame showing between GTK2 and GTK3...
- Replies: 4
- Views: 1041
Re: No frame showing between GTK2 and GTK3...
Thanks for checking the code for me.
Can you think of any setting in the theme that may cause this?mk-soft wrote:It must be the setting of the Linux theme.
- Sun Jul 05, 2020 9:31 am
- Forum: Coding Questions
- Topic: No frame showing between GTK2 and GTK3...
- Replies: 4
- Views: 1041
No frame showing between GTK2 and GTK3...
Hello,
I've got a simple bit of form code here as a test. With GTK2 subsystem everything is displayed as expected. While GTK3 will not show the frame around the button. Does this happen for anyone else?
Create a new form and paste the following code then compile with GTK2 and GTK3
;
; This code ...
I've got a simple bit of form code here as a test. With GTK2 subsystem everything is displayed as expected. While GTK3 will not show the frame around the button. Does this happen for anyone else?
Create a new form and paste the following code then compile with GTK2 and GTK3
;
; This code ...
- Sun Jul 05, 2020 8:44 am
- Forum: Coding Questions
- Topic: Can someone clairify the subsystem option for Linux [Solved]
- Replies: 5
- Views: 2342
Re: Can someone clairify the subsystem option for Linux
@Shardik you have done well again.
I can confirm these subsystems for Linux - well at least for the downloads that I have.
5.72: gtk2 + qt
5.71: gtk2 + qt
5.70: gtk2 + qt
5.62: gtk2 + qt
** Topic marked as solved! **
Thank you
I can confirm these subsystems for Linux - well at least for the downloads that I have.
5.72: gtk2 + qt
5.71: gtk2 + qt
5.70: gtk2 + qt
5.62: gtk2 + qt
** Topic marked as solved! **
Thank you
- Sat Jul 04, 2020 8:56 pm
- Forum: Linux
- Topic: Send EditorGadget() to bottom line?
- Replies: 11
- Views: 7912
Re: Send EditorGadget() to bottom line?
Thanks @Shardik. Your new example also works for me with either GTK2 or GTK3 subsystem option.
I find it interesting that you don't need to specify a library filename in the ImportC "" statement and it just works...
I'm guessing that PB is using the gtk.imp library in the /purelibraries/linux ...
I find it interesting that you don't need to specify a library filename in the ImportC "" statement and it just works...
I'm guessing that PB is using the gtk.imp library in the /purelibraries/linux ...
- Sat Jul 04, 2020 8:03 pm
- Forum: Coding Questions
- Topic: Can someone clairify the subsystem option for Linux [Solved]
- Replies: 5
- Views: 2342
Re: Can someone clairify the subsystem option for Linux
Is OpenGL still a subsystem option with Linux and PB >= 5.62?
re. https://www.purebasic.com/news.php
PB 5.30 - Added: OpenGLGadget() with native opengl commands and constants support for Windows, OSX and Linux
PB 4.61 - Changed: OpenGL subsystem is now default on Linux (a new 'sdl' subsystem has ...
re. https://www.purebasic.com/news.php
PB 5.30 - Added: OpenGLGadget() with native opengl commands and constants support for Windows, OSX and Linux
PB 4.61 - Changed: OpenGL subsystem is now default on Linux (a new 'sdl' subsystem has ...
- Sat Jul 04, 2020 7:37 pm
- Forum: Coding Questions
- Topic: Can someone clairify the subsystem option for Linux [Solved]
- Replies: 5
- Views: 2342
Re: Can someone clairify the subsystem option for Linux
Thank you @Shardik. Your reply was exactly the information I needed. Precise and to the point.