what he said.
But also..
you cannot remove a tab panel if it has stuff inside it.
b
Search found 168 matches
- Monday 26th February 2024 4:41am
- Forum: General
- Topic: [Solved] TabPanel1 bad index
- Replies: 4
- Views: 567
- Saturday 24th February 2024 1:20am
- Forum: Beginners
- Topic: First Program Test
- Replies: 7
- Views: 1572
Re: First Program Test
and a tip from me (that some may have heard before :D ) Read the help pages until your eyes bleed. Read every word. It is succinct and can easily be misunderstood if your mind skips words or think they mean something from some other language. For example look at one of the Balloon functions, say Bal...
- Saturday 17th February 2024 7:19am
- Forum: General
- Topic: Can GAMBAS be an alternative to Visual Basic (or maybe Visual Foxpro)?
- Replies: 10
- Views: 2256
Re: Can GAMBAS be an alternative to Visual Basic (or maybe Visual Foxpro)?
I'd say your best chance is to find an OBCD driver for dbase and use that. (Actually, I'd really say dbase? Is that still around? and if so why?) Having said that let me now say "ODBC" is the worst possible way to access a database." You could learn how to write Gambas code to access ...
- Wednesday 7th February 2024 8:31am
- Forum: General
- Topic: getting bits from an integer (Mouse.State)
- Replies: 3
- Views: 703
Re: getting bits from an integer (Mouse.State)
Use the AND If (Mouse.State AND 1) then the left button was pressed. If (Mouse.State AND 2) then the middle button was pressed. If (Mouse.State AND 4) then the right button was pressed. If (Mouse.State AND 3) then the left and middle buttons were pressed. If (Mouse.State AND 5) then the middle and r...
- Tuesday 6th February 2024 7:11am
- Forum: Beginners
- Topic: New to Gambas.. seek some help
- Replies: 14
- Views: 2693
Re: New to Gambas.. seek some help
re database support. Gambas supports quite a lot of database handling (and it is incredibly fast) but the fully integrated database features are not (ahem) sophisticated. If you want to use more advanced SQL techniques almost anything can be done but you have to "do it yourself". For examp...
- Tuesday 6th February 2024 7:03am
- Forum: Beginners
- Topic: New to Gambas.. seek some help
- Replies: 14
- Views: 2693
Re: New to Gambas.. seek some help
The "usual" way to set the number of decimal points displayed in a control, whether it's a numeric or textual control is to use the Round() function when setting the value. This wont work for controls that only display or handle integers of course. The "usual" way of doing a deci...
- Tuesday 30th January 2024 6:14am
- Forum: Project showcase
- Topic: Blockski+ , like Klotski but with a board editor.
- Replies: 45
- Views: 8559
Re: Blockski+ , like Klotski but with a board editor.
Thus far, this works much better under qt5. The timer is w a y out! And I got an overflow in Board1_Win() at the DateDiff. I don't think the timer should start until the player tries to move the first tile. It was counting while I was adjusting the tile size. I can't get the editor to save my new la...
- Tuesday 30th January 2024 6:01am
- Forum: Project showcase
- Topic: Blockski+ , like Klotski but with a board editor.
- Replies: 45
- Views: 8559
Re: Blockski+ , like Klotski but with a board editor.
The move counts in the winner popup are wrong. The winner popup is strange when run with "current desktop". Its titlebar needs to be clicked to get it to fully show. Works fine on qt5. Occasionally the blocks get stuck, frequently when the target clock is in the ghost wall, but also someti...
- Monday 29th January 2024 12:55am
- Forum: Beginners
- Topic: slqite3 issue
- Replies: 2
- Views: 1059
Re: slqite3 issue
Two notes:
1) You CANNOT write to a database inside the executable(nor any other file inside the executable.) The database must exist outside the executable.
2) As Bruce says you must use a FULL path to the sqlite file. Read up up on how Gambas uses relative paths.
b
1) You CANNOT write to a database inside the executable(nor any other file inside the executable.) The database must exist outside the executable.
2) As Bruce says you must use a FULL path to the sqlite file. Read up up on how Gambas uses relative paths.
b
- Saturday 27th January 2024 12:14pm
- Forum: General
- Topic: Gambas executable entry value
- Replies: 8
- Views: 1524
Re: Gambas executable entry value
Shell, shell, shell! Or maybe C shells big shells along the see-saw.
(I think I may have to have a little lie down now)
b
(I think I may have to have a little lie down now)
b