Hello All,
I was just looking at the DB Example program (database.pb).
I follow the logic for checking the database and creating the database file.
What I am missing is where the window (containing the list box, menu, etc) is created.
If I open the file in PB editor and run, I get the window, but I can't seem to find the code where that is created.
I am sure I am missing something obvious, but any pointer would be greatly appreciated.
Thank you.
Chris
Quick question about DB Example program
Re: Quick question about DB Example program
What you see is the Debug-Output window which is triggered by
For your application you will need to create a window via OpenWindow() etc.
Code: Select all
While NextDatabaseRow(0)
Debug GetDatabaseString(0, 0)
Wend
Re: Quick question about DB Example program
You might find this useful: https://www.purebasic.fr/english/viewtopic.php?p=543222
Re: Quick question about DB Example program
Thank you both for the responses.
Very helpful.
Very helpful.
Re: Quick question about DB Example program
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: Quick question about DB Example program
- It was too lonely at the top.
System : PB 6.21(x64) and Win 11 Pro (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
System : PB 6.21(x64) and Win 11 Pro (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem