Thanks for the replies, found an alternate way of acheiving the required result.
The interesting pasrt for me was that i was creating and displaying the WNDW_log and showing the gadgetid in the editor gadget, but when i tried show it ( using debug ) in WNDW_main it was always returning an id of 0 ...
Search found 644 matches
- Fri Dec 12, 2025 12:51 pm
- Forum: Coding Questions
- Topic: Update a seperate Logging window
- Replies: 5
- Views: 126
- Fri Dec 12, 2025 11:16 am
- Forum: Coding Questions
- Topic: Update a seperate Logging window
- Replies: 5
- Views: 126
Update a seperate Logging window
I have a main window ( WNDW_main ) and i have a logging window with just and editorgadget ( WNDW_log ).
I have a lot of processing steps in WNDW_main so would like to update the editor gadget on WNDW_log accordingly.
The editor gadget on the log window is defined as a GLOBAL variable using #PB_any ...
I have a lot of processing steps in WNDW_main so would like to update the editor gadget on WNDW_log accordingly.
The editor gadget on the log window is defined as a GLOBAL variable using #PB_any ...
- Mon Oct 13, 2025 9:20 am
- Forum: General Discussion
- Topic: Looking for Suggestions
- Replies: 13
- Views: 2408
Re: Looking for Suggestions
add a rPi ( Zero or W ) at each location and allow that to collect the data from the equipment and then let that call home to your collection program on a scheduled basis.
You would have to write a script to poll the quipment on the rPi, but you wouldn't be limited to a line at a time form ...
You would have to write a script to poll the quipment on the rPi, but you wouldn't be limited to a line at a time form ...
- Wed Aug 13, 2025 9:33 pm
- Forum: Coding Questions
- Topic: #PB_EventType_ReturnKey
- Replies: 3
- Views: 362
Re: #PB_EventType_ReturnKey
Thanks for the info, compileif option was a perfect solution for this use case I.E requiring the least amount of effort 
- Wed Aug 13, 2025 2:43 pm
- Forum: Coding Questions
- Topic: #PB_EventType_ReturnKey
- Replies: 3
- Views: 362
#PB_EventType_ReturnKey
Hi all,
When was #PB_EventType_ReturnKey removed and what was it replaced with ?
I'm having to recompile an older piece of code and this has been highlighted.
Cheers
Captain S
When was #PB_EventType_ReturnKey removed and what was it replaced with ?
I'm having to recompile an older piece of code and this has been highlighted.
Cheers
Captain S
- Mon Jul 07, 2025 8:57 am
- Forum: Announcement
- Topic: PBWebcam - cross-platform camera access!
- Replies: 15
- Views: 6441
Re: PBWebcam - cross-platform camera access!
Thanks very much JHPJHP, just goes to show it's who you know not what you know 
Works perfectly now.
Works perfectly now.
- Thu Jul 03, 2025 10:52 am
- Forum: Announcement
- Topic: PBWebcam - cross-platform camera access!
- Replies: 15
- Views: 6441
Re: PBWebcam - cross-platform camera access!
Hi,
Just came across your code as i need to capture a webcam image.
Downloaded all required code, but every time i run the demo i get :
'Could not examine webcams, or none found!'
It's odd becasue i can see the live images from my 2 webcams using the built in windows 11 camera app.
Anybody got ...
Just came across your code as i need to capture a webcam image.
Downloaded all required code, but every time i run the demo i get :
'Could not examine webcams, or none found!'
It's odd becasue i can see the live images from my 2 webcams using the built in windows 11 camera app.
Anybody got ...
- Mon Nov 18, 2024 10:48 am
- Forum: Coding Questions
- Topic: Error creating gadget
- Replies: 2
- Views: 625
Re: Error creating gadget
Hi,
You can use :
UseGadgetList(WindowID(GetActiveWindow()))
in your event loop to fix it.
not sure if that helps explain it though
Cheers
You can use :
UseGadgetList(WindowID(GetActiveWindow()))
in your event loop to fix it.
not sure if that helps explain it though
Cheers
- Fri Feb 23, 2024 12:01 pm
- Forum: Coding Questions
- Topic: New webgadget hyperlink returns #blocked
- Replies: 1
- Views: 674
Re: New webgadget hyperlink returns #blocked
After a bit more reading up i think it's because it's a malformed link E.G not a regular web page like "https://www.google.com"
This poses a problem in that previoulsy i could put any old information in the link, then parse it and act on it E.G the id of the record selecteed and then open up a new ...
This poses a problem in that previoulsy i could put any old information in the link, then parse it and act on it E.G the id of the record selecteed and then open up a new ...
- Thu Feb 22, 2024 10:48 pm
- Forum: Coding Questions
- Topic: New webgadget hyperlink returns #blocked
- Replies: 1
- Views: 674
New webgadget hyperlink returns #blocked
Hi,
So i use the webgadget for displaying some table data and I've always used hyperlinks to open windows to display more info on specific items in the table.
Since playing around with the recent betas and using the #PB_Web_Edge flag the hyperlinks return about:blank#blocked whereas they used to ...
So i use the webgadget for displaying some table data and I've always used hyperlinks to open windows to display more info on specific items in the table.
Since playing around with the recent betas and using the #PB_Web_Edge flag the hyperlinks return about:blank#blocked whereas they used to ...
- Tue Feb 20, 2024 5:17 pm
- Forum: Coding Questions
- Topic: ODBC connections and DatabaseColumnType()
- Replies: 4
- Views: 1200
Re: ODBC connections and DatabaseColumnType()
oops - ignore that. :oops:
But no doesn't work for any of them.
I'm doing some more experimentation at the moment and i think it's the version of the ODBC driver - if I upgrade to the newest it works fine, but in this particular use case i have to use an older 32bit version which this doesn't ...
But no doesn't work for any of them.
I'm doing some more experimentation at the moment and i think it's the version of the ODBC driver - if I upgrade to the newest it works fine, but in this particular use case i have to use an older 32bit version which this doesn't ...
- Tue Feb 20, 2024 5:13 pm
- Forum: Coding Questions
- Topic: ListIcon - load more data on scroll
- Replies: 5
- Views: 938
[SOLVED] Re: ListIcon - load more data on scroll
Thanks Spikey,
Gave me an excellent start and works like a charm
cheers
Gave me an excellent start and works like a charm
cheers
- Tue Feb 20, 2024 4:32 pm
- Forum: Coding Questions
- Topic: ODBC connections and DatabaseColumnType()
- Replies: 4
- Views: 1200
Re: ODBC connections and DatabaseColumnType()
; Execute a SQL query
If DatabaseQuery(0, PVAR_sql)
column_count.i = DatabaseColumns(0)
; get the column names and update the CSV
For loop_count = 0 To column_count
Debug DatabaseColumnName(0, loop_count)
Select DatabaseColumnType(0, loop_count) ;
Case #PB_Database_Long ; Numeric ...
- Tue Feb 20, 2024 12:33 pm
- Forum: Coding Questions
- Topic: ODBC connections and DatabaseColumnType()
- Replies: 4
- Views: 1200
ODBC connections and DatabaseColumnType()
Morning all,
Not sure if this is a bug or known behaviour :
On the latest beta DatabaseColumnType() returns 0 when using ODBC as a connection type.
I will test it using older versions but wondered if anyone else has seen this before.
Cheers
Not sure if this is a bug or known behaviour :
On the latest beta DatabaseColumnType() returns 0 when using ODBC as a connection type.
I will test it using older versions but wondered if anyone else has seen this before.
Cheers
- Fri Feb 16, 2024 1:05 pm
- Forum: Coding Questions
- Topic: ListIcon - load more data on scroll
- Replies: 5
- Views: 938
Re: ListIcon - load more data on scroll
Hi spikey,
So normaly i retrieve a limited record set using the LIMIT and OFFSET paramters in the underlying SQL query, I then have First, Previous Next and Last page navigation buttons to move through all the data in the recordest.
I only use this for large recorsets though.
However in my ...
So normaly i retrieve a limited record set using the LIMIT and OFFSET paramters in the underlying SQL query, I then have First, Previous Next and Last page navigation buttons to move through all the data in the recordest.
I only use this for large recorsets though.
However in my ...