Search found 603 matches

by falsam
Wed Jan 07, 2026 12:36 pm
Forum: Coding Questions
Topic: [Resolved] PB 6.30 WebViewGadget & Tab Key freeze
Replies: 9
Views: 1006

Re: PB 6.30 WebViewGadget & Tab Key freeze

Resolved with PureBasic 6.30 beta 7. Thanks, Fred 👍
by falsam
Fri Dec 26, 2025 11:43 am
Forum: Coding Questions
Topic: [Resolved] PB 6.30 WebViewGadget & Tab Key freeze
Replies: 9
Views: 1006

Re: PB 6.30 WebViewGadget & Tab Key freeze

Thank you for your help. Using SetWindowLongPtr_ as suggested by breeze4me solves my current issue. I hope this Tab key bug will be fixed soon. I will continue to explore this new WebGadget.
by falsam
Fri Dec 19, 2025 11:36 pm
Forum: Coding Questions
Topic: [Resolved] PB 6.30 WebViewGadget & Tab Key freeze
Replies: 9
Views: 1006

Re: PB 6.30 WebViewGadget & Tab Key freeze

Hello Infratec,
The Tab key allows you to navigate from one input field to another. You can click on the submit button to validate the form. If the user presses the Tab key again to return to the first input field, the application freezes.
by falsam
Fri Dec 19, 2025 7:36 pm
Forum: Coding Questions
Topic: [Resolved] PB 6.30 WebViewGadget & Tab Key freeze
Replies: 9
Views: 1006

Re: PB 6.30 WebViewGadget & Tab Key freeze

I simplified the code:
- Removed the JavaScript,
- Removed the callback.

EnableExplicit

Enumeration
#app
#webview
EndEnumeration

; HTML Code
Define Html.s = ~"<!DOCTYPE html>\n" +
~"<html>\n" +
~"<body>\n" +
~"\n" +
~"<label>First name:</label><br>\n" +
~"<input type=\"text\" id=\"fname ...
by falsam
Fri Dec 19, 2025 7:25 pm
Forum: Coding Questions
Topic: [Resolved] PB 6.30 WebViewGadget & Tab Key freeze
Replies: 9
Views: 1006

[Resolved] PB 6.30 WebViewGadget & Tab Key freeze

Hello,

I am currently exploring WebViewGadget (PB 6.30) and how to communicate variables between JavaScript and PureBasic.

This code displays a small form consisting of three HTML tags: First Name, Last Name, and a “Submit” button to send the data to PureBasic variables.

EnableExplicit ...
by falsam
Wed Dec 10, 2025 11:41 am
Forum: Bugs - Windows
Topic: 6.30 Beta 5 - ScreenEventType() undefined value
Replies: 2
Views: 567

Re: 6.30 Beta 5 - ScreenEventType() undefined value

The information was in the Beta 5 documentation. That's why I pointed out this omission 😉


ScreenEventType()

Syntax

Result = ScreenEventType()
Description

After a ScreenWindowEvent() function, use this function to determine of which type the event is.

Parameters

None.

Return value ...
by falsam
Wed Dec 10, 2025 11:30 am
Forum: Feature Requests and Wishlists
Topic: PB 6.30 - SetScreenActiveGadget(#Gadget)
Replies: 2
Views: 575

Re: PB 6.30 - SetScreenActiveGadget(#Gadget)

pf shadoko wrote: Wed Dec 10, 2025 10:55 am it will be add for pb6.31
That's great! Thank you very much 👍
by falsam
Tue Dec 09, 2025 2:14 pm
Forum: Bugs - Windows
Topic: 6.30 Beta 5 - ScreenEventType() undefined value
Replies: 2
Views: 567

6.30 Beta 5 - ScreenEventType() undefined value

#PB_ScreenEventType_Focus , #PB_ScreenEventType_LostFocus and #PB_ScreenEventType_Change undefined 😉
by falsam
Tue Dec 09, 2025 2:06 pm
Forum: Feature Requests and Wishlists
Topic: PB 6.30 - SetScreenActiveGadget(#Gadget)
Replies: 2
Views: 575

PB 6.30 - SetScreenActiveGadget(#Gadget)

Hello. Thank you for this new Beta 5 version of PureBasic 6.30.

Would it be possible to have a SetScreenActiveGadget(#Gadget) function to activate (place the keyboard focus on) the gadget specified by the given gadget number ?

Thank you in advance for this new feature (if possible).
by falsam
Thu Dec 04, 2025 3:17 pm
Forum: General Discussion
Topic: PB Discord Link
Replies: 12
Views: 1851

Re: PB Discord Link

The current English, German, and French forums are indeed essential. Discord is a complement for dynamic conversations on topics related to PureBasic, but also on other topics that have no place in the PureBasic forums. We also get to know each other better on Discord 😉


Discord is noisy.
I prefer ...
by falsam
Wed Dec 03, 2025 3:33 pm
Forum: Coding Questions
Topic: Simple PB code editor
Replies: 28
Views: 2778

Re: Simple PB code editor

Coucou KCC 😉

The project is 9 years old, but the code works with PB 6.30 Beta3.

The goal is to create a step-by-step text editor.
Indentation, line numbering, autocompletion, folding, and syntax highlighting.

Copy and paste and text saving are missing.

■ Download : https://github.com/pbcodex ...
by falsam
Wed Jun 11, 2025 8:18 am
Forum: Game Programming
Topic: Pure2048
Replies: 31
Views: 8223

Re: Pure2048

Here's a nice version of the famous 2048 game. Thanks for sharing. I really like it 💕
by falsam
Tue Apr 29, 2025 2:18 pm
Forum: Announcement
Topic: [GAME] ONET Monsters
Replies: 22
Views: 9262

Re: [GAME] ONET Monsters

Hello. Thanks for this stimulating game when I have a moment to procrastinate 🤪
by falsam
Thu Mar 09, 2023 4:36 pm
Forum: Coding Questions
Topic: Recover duration mp3 file
Replies: 19
Views: 3346

Re: Recover duration mp3 file

Tested with PB 6.0 - Another solution with FMODEX.
Download the include and the 32 and 64 bits dll hosted on the GitHub collaborative platform.

:arrow: GitHub https://github.com/pbcodex/FMODEX-MIN-UNICODE

:arrow: LienDirect https://github.com/pbcodex/FMODEX-MIN-UNICODE/archive/refs/heads/master ...