Button position in a grid

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

User avatar
serge_girard
Posts: 3161
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: Button position in a grid

Post by serge_girard »

Robert,

Sometimes I indeed put many things onto one screen (just like old DOS-Clipper). Only 'problem' is to keep all well synchronized (visibile - not visible - defined released etc.).

Recently I had a screen with 'row-input (2 textboxes,2 combox, 1 button)' + button to add a row + button to delete a row.

Then I needed a 'reset' button to release all rows. This probably went too fast so some row-controles (1 combobox) always stayed unreleased.
A miracle or a bug...?

Now I build in the reset function (at the end of my loop: hb_idleSleep( 0.01 ))
Now it works really perfect! Just a tip!

Serge
There's nothing you can do that can't be done...
ROBROS
Posts: 256
Joined: Thu May 25, 2017 6:30 pm
DBs Used: DBF
Location: D 83071 Stephanskirchen

Re: Button position in a grid

Post by ROBROS »

serge_girard wrote: Mon Dec 11, 2017 9:08 pm
Sometimes I indeed put many things onto one screen (just like old DOS-Clipper). Only 'problem' is to keep all well synchronized (visibile - not visible - defined released etc.).

And so I have another template to learn from.
:)

Recently I had a screen with 'row-input (2 textboxes,2 combox, 1 button)' + button to add a row + button to delete a row.

Then I needed a 'reset' button to release all rows. This probably went too fast so some row-controles (1 combobox) always stayed unreleased.
A miracle or a bug...?
What's the difference between miracle/bug? :lol:

Now I build in the reset function (at the end of my loop: hb_idleSleep( 0.01 ))
Now it works really perfect! Just a tip!
Thx again!

Serge
BTW If you feel it's to cold: Fais du feu dans la cheminée...
My favourite rendition of this chanson is by Nana Mouskouri.

Robert
User avatar
serge_girard
Posts: 3161
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: Button position in a grid

Post by serge_girard »

What's the difference between miracle/bug?

Miracles are like Santa Claus: they don't exist and bugs... are plenty!
There's nothing you can do that can't be done...
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: Button position in a grid

Post by srvet_claudio »

serge_girard wrote: Tue Dec 12, 2017 8:08 am What's the difference between miracle/bug?

Miracles are like Santa Claus: they don't exist and bugs... are plenty!
The bugs exist and are very real: :lol: :lol: :lol:

http://americanhistory.si.edu/collectio ... mah_334663
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
dragancesu
Posts: 920
Joined: Mon Jun 24, 2013 11:53 am
DBs Used: DBF, MySQL, Oracle
Location: Subotica, Serbia

Re: Button position in a grid

Post by dragancesu »

Maybe this help, just

build test
Attachments
rob.zip
(14.82 KiB) Downloaded 176 times
ROBROS
Posts: 256
Joined: Thu May 25, 2017 6:30 pm
DBs Used: DBF
Location: D 83071 Stephanskirchen

Re: Button position in a grid

Post by ROBROS »

srvet_claudio wrote: Tue Dec 12, 2017 1:35 pm
serge_girard wrote: Tue Dec 12, 2017 8:08 am What's the difference between miracle/bug?

Miracles are like Santa Claus: they don't exist and bugs... are plenty!
The bugs exist and are very real: :lol: :lol: :lol:

http://americanhistory.si.edu/collectio ... mah_334663
At least now I know where the expression comes from.

Robert
ROBROS
Posts: 256
Joined: Thu May 25, 2017 6:30 pm
DBs Used: DBF
Location: D 83071 Stephanskirchen

Re: Button position in a grid

Post by ROBROS »

dragancesu wrote: Tue Dec 12, 2017 1:42 pm Maybe this help, just

build test
Thank you for sharing the prgs and bmps. Nice to have them. I will study them.

20 minutes later: nice to have them?
Very useful to have them. Thx a lot.
Post Reply