Search found 3410 matches

by Little John
Sun Jul 25, 2021 2:56 pm
Forum: Announcement
Topic: HTML5 Browser
Replies: 193
Views: 67552

Re: HTML5 Browser

Thank you for the update!
by Little John
Sat Jul 24, 2021 3:56 pm
Forum: Coding Questions
Topic: Right click Editor Gadget
Replies: 7
Views: 2343

Re: Right click Editor Gadget

Hi firace and RASHAD,

both of your solutions work like a charm here!
Now I can add a context menu to my program. :D
THANK YOU VERY MUCH!
by Little John
Sat Jul 24, 2021 2:51 pm
Forum: Coding Questions
Topic: Right click Editor Gadget
Replies: 7
Views: 2343

Re: Right click Editor Gadget

Hi BasicallyPure, thank you for the code. It works fine here on Windows 10. However, when using it with an EditorGadget that is inside a PanelGasget , it does not work as expected: After clicking at a context menu item, the intended action does not take place, but the contect menu appears again inst...
by Little John
Sun Jul 11, 2021 12:28 pm
Forum: Announcement
Topic: HTML5 Browser
Replies: 193
Views: 67552

Re: HTML5 Browser

Many thanks firace, that solved the problem!
I'm sorry, I had completely forgotten about the old posts. :oops:

However, Chrome, Edge and Firefox showed that web page correctly even before enabling font download.
Maybe you can find a way to work around this issue in Nessie.
Thanks again!
by Little John
Sun Jul 11, 2021 12:49 am
Forum: Bugs - C backend
Topic: [Done] Boolean expressions with string functions
Replies: 5
Views: 3454

Re: [Done] Boolean expressions with string functions

@Fred: It's NOT done!
Still the same wrong result with my above code when using PB 6 alpha 3.
by Little John
Sat Jul 10, 2021 2:57 pm
Forum: Announcement
Topic: HTML5 Browser
Replies: 193
Views: 67552

Re: HTML5 Browser

Hi firace, thanks again for one more update of Nessie! I encountered a problem with the current version (also with the previous version). On the PC at my office (Windows 10 Pro 64 bit), the start page of the PB forum looks OK: https://i.ibb.co/YDDJ7st/Nessie-Office.png But on my notebook at home (Wi...
by Little John
Tue Jun 29, 2021 9:02 pm
Forum: Tricks 'n' Tips
Topic: Make options selectable with the keyboard, too
Replies: 2
Views: 1332

Make options selectable with the keyboard, too

PureBasic doesn't have built-in support for changing the selected option within a group by using the up/down keys. (The TAB key shouldn't do that, but pressing TAB should leave the whole option group -- remembering which option is selected --, and activate another control.) Occasionally this support...
by Little John
Wed Jun 23, 2021 5:35 am
Forum: Bugs - C backend
Topic: [Done] Spaces in installation directory name
Replies: 2
Views: 949

Re: Spaces in installation directory name

This is already fixed for the next version:
viewtopic.php?f=43&t=77462
by Little John
Mon Jun 21, 2021 12:33 am
Forum: Bugs - C backend
Topic: [Done] Boolean simple empty string
Replies: 10
Views: 3479

Re: Boolean simple empty string

Empty string validation can be simply, quickly and safely done like this:

Code: Select all

If Asc(s$) = 0
or

Code: Select all

If Asc(s$) = ''
by Little John
Sun Jun 20, 2021 6:31 pm
Forum: Bugs - C backend
Topic: [Done] Boolean simple empty string
Replies: 10
Views: 3479

Re: Boolean simple empty string

Yes, of course it should be evaluated the same. But I didn't write about that. I just wrote that I don't like it. Bool(s$) doesn't make sense, and s$ isn't a Boolean expression. Something like Bool(s$ <> "") does make sense, though. Same when using If . Technically speaking, Bool(s$) works...
by Little John
Sun Jun 20, 2021 5:12 pm
Forum: Bugs - C backend
Topic: [Done] Boolean simple empty string
Replies: 10
Views: 3479

Re: Boolean simple empty string

skywalk wrote: Sun Jun 20, 2021 4:01 pm I never liked this shorthand.
Me too. A string isn't a Boolean expression.
by Little John
Sun Jun 20, 2021 5:10 pm
Forum: Announcement
Topic: PureBasic 6.00 Alpha 5 released !
Replies: 199
Views: 42833

Re: PureBasic 6.00 Alpha 2 released !

Alpha stage is a good time to make suggestions for improvement, isn't it? :-)
by Little John
Sun Jun 20, 2021 1:36 pm
Forum: Bugs - C backend
Topic: [Done] Boolean expressions with string functions
Replies: 5
Views: 3454

Re: [Done] Boolean expressions with string functions

Fred, in PB 6.0 alpha 2, there are still problems with string functions in a Boolean expression. Debug Bool("Pear" > "apple") Debug Bool("PEAR" > "APPLE") Debug Bool(UCase("Pear") > UCase("apple")) Output when using the ASM backend (all cor...
by Little John
Sun Jun 20, 2021 12:47 pm
Forum: Bugs - C backend
Topic: [Done] PB 6.0 alpha 2: duplicate label
Replies: 1
Views: 2526

[Done] PB 6.0 alpha 2: duplicate label

I have a module named "Math" that works fine with the ASM backend, also with PB 6.0 alpha 2. The file with the module additionally contains some test code. When trying to run the code with the C backend, I get the following error message: --------------------------- PureBasic - Assembler e...