Search found 303 matches
- 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...
- Fri Apr 19, 2024 2:12 pm
- Forum: Coding Questions
- Topic: Webview & ""
- Replies: 15
- Views: 300
Re: Webview & ""
It works if you click on "Quit", but you wanted to catch the ⌘Q shortcutPiero 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
- Fri Apr 19, 2024 11:25 am
- Forum: Coding Questions
- Topic: Webview & ""
- Replies: 15
- Views: 300
Re: Webview & ""
Indeed... But Fred is probably the one who can answerPiero wrote: ↑Fri Apr 19, 2024 11:04 amBut don't you think it's strange being that you can use if... ELSE?Mindphazer wrote: ↑Fri Apr 19, 2024 10:09 am The compiler explains : "not cannot be used with strings"
- 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...
- 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"
- 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
- 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
- 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 ?
- 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
The line that contains the error is hilighted, but i still can read the text
- Sat Mar 02, 2024 12:41 pm
- Forum: Coding Questions
- Topic: [solved] Gadget number from hWnd?
- Replies: 9
- Views: 313
- 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 ?
- 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
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
- 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)
I'm facing the same error (PB 6.03 x64, C or ASM backend)
- Tue Feb 06, 2024 1:38 pm
- Forum: Coding Questions
- Topic: Waiting Screen with transparent background
- Replies: 20
- Views: 1155
Re: Waiting Screen with transparent background
You can try this one too :
https://www.purebasic.fr/english/viewtopic.php?t=57172
https://www.purebasic.fr/english/viewtopic.php?t=57172
- 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 !
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 !
- Wed Jan 31, 2024 3:22 pm
- Forum: Coding Questions
- Topic: [pb6.10b4] Required Compiler can't be found
- Replies: 14
- Views: 748