Search found 303 matches

by Mindphazer
Fri Apr 19, 2024 3:52 pm
Forum: Coding Questions
Topic: Webview & ""
Replies: 15
Views: 300

Re: Webview & ""

What confused me is that it's normally very easy: Until event = #PB_Event_CloseWindow or EventMenu() = #PB_Menu_Quit It works if you click on "Quit", but you wanted to catch the ⌘Q shortcut That is wrong. EventMenu() may only be queried if there is also an event #PB_Event_Menu. True. I an...
by Mindphazer
Fri Apr 19, 2024 2:12 pm
Forum: Coding Questions
Topic: Webview & ""
Replies: 15
Views: 300

Re: Webview & ""

Piero wrote: Fri Apr 19, 2024 1:56 pm What confused me is that it's normally very easy:

Code: Select all

Until event = #PB_Event_CloseWindow or EventMenu() = #PB_Menu_Quit
It works if you click on "Quit", but you wanted to catch the ⌘Q shortcut
by Mindphazer
Fri Apr 19, 2024 11:25 am
Forum: Coding Questions
Topic: Webview & ""
Replies: 15
Views: 300

Re: Webview & ""

Piero wrote: Fri Apr 19, 2024 11:04 am
Mindphazer wrote: Fri Apr 19, 2024 10:09 am The compiler explains : "not cannot be used with strings"
But don't you think it's strange being that you can use if... ELSE?
Indeed... But Fred is probably the one who can answer :mrgreen:
by Mindphazer
Fri Apr 19, 2024 10:32 am
Forum: Coding Questions
Topic: Webview & ""
Replies: 15
Views: 300

Re: Webview & ""

How do I "catch" a ⌘Q (quit) shortcut in the WebBrowser.pb example? It "should be already there as #PB_Menu_Quit"… am I missing something? :oops: Something like this Enumeration #MainWindow #Kbd_CmdQ EndEnumeration If OpenWindow(#MainWindow, 0, 0, 300, 200, "Test", #PB...
by Mindphazer
Fri Apr 19, 2024 10:09 am
Forum: Coding Questions
Topic: Webview & ""
Replies: 15
Views: 300

Re: Webview & ""

The compiler explains : "not cannot be used with strings"
by Mindphazer
Mon Apr 15, 2024 6:24 pm
Forum: Coding Questions
Topic: Debug mode execution speed can vary on source whitespace.
Replies: 12
Views: 690

Re: Debug mode execution speed can vary on source whitespace.

On my Mac (M1), with the blank lines and without the blank lines, there is no difference :
- 51 ms debugger on
- 8 ms debugger off.

But on my Windows 10 at work, there is a difference of 12-15 ms with and without lines (debugger on)
Not difference with debugger off
by Mindphazer
Fri Mar 08, 2024 1:47 pm
Forum: Coding Questions
Topic: examples/Sprite.pb can't open screen
Replies: 3
Views: 129

Re: examples/Sprite.pb can't open screen

There's a long long list of corrected bugs in PB 6.10 for OSX... Maybe you can try the last beta ?
by Mindphazer
Fri Mar 08, 2024 10:27 am
Forum: Bugs - IDE
Topic: Text not readable (Linux)
Replies: 8
Views: 336

Re: Text not readable

Just tried, but i don't have this behaviour
The line that contains the error is hilighted, but i still can read the text
by Mindphazer
Sat Mar 02, 2024 12:41 pm
Forum: Coding Questions
Topic: [solved] Gadget number from hWnd?
Replies: 9
Views: 313

Re: Gadget number from hWnd?

BarryG wrote: Sat Mar 02, 2024 4:19 am Hi all. Back after an extended break to relax and find myself
Glad to see you back !
by Mindphazer
Thu Feb 22, 2024 11:33 am
Forum: Coding Questions
Topic: [PB6.10beta6] File is not initialised
Replies: 8
Views: 247

Re: [PB6.10beta6] File is not initialised

Why not use #PB_Any, instead of a given number ?
by Mindphazer
Fri Feb 16, 2024 3:50 pm
Forum: Coding Questions
Topic: ability to send french accent in purebasic mailer subject
Replies: 1
Views: 103

Re: ability to send french accent in purebasic mailer subject

I don't get it.
This example works, there's an accent in the subject

Code: Select all

If CreateMail(0, "test@xxx.com", "Accentué")
  AddMailRecipient(0, "someone@xxx.fr", #PB_Mail_To)
  Debug SendMail(0, "smtp.xxx.fr") 
EndIf
by Mindphazer
Thu Feb 15, 2024 1:19 pm
Forum: Tricks 'n' Tips
Topic: LIGEnhancements - ListIconGadget with Grouping and TileView
Replies: 35
Views: 4157

Re: LIGEnhancements - ListIconGadget with Grouping and TileView

Hi Denis, Jac
I'm facing the same error (PB 6.03 x64, C or ASM backend)
by Mindphazer
Fri Feb 02, 2024 3:12 pm
Forum: Windows
Topic: Panel Gadget Tab Images
Replies: 5
Views: 1152

Re: Panel Gadget Tab Images

Hi RASHAD,
i'm using your tip to have different colors for my panel tabs, but do you think it could be possible to adapt each tab's width to the text ?
With your example, each tab's width is the same, no matter of the text...

Thank you !
by Mindphazer
Wed Jan 31, 2024 3:22 pm
Forum: Coding Questions
Topic: [pb6.10b4] Required Compiler can't be found
Replies: 14
Views: 748

Re: [pb6.10b4] Required Compiler can't be found

Quin wrote: Wed Jan 31, 2024 2:47 pm +1. This gets incredibly annoying if you use C backend for everything, and have to go in and change it, every, time.
The Default compiler is C backend in PB6.10 beta3 (and 4)