Button position in a grid

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

User avatar
serge_girard
Posts: 2166
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 472 times
Been thanked: 108 times
Contact:

Re: Button position in a grid

Post by serge_girard » Mon Dec 11, 2017 9:08 pm

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

ROBROS
Posts: 152
Joined: Thu May 25, 2017 6:30 pm
DBs Used: DBF
Has thanked: 47 times
Been thanked: 13 times

Post by ROBROS » Mon Dec 11, 2017 9:23 pm

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: 2166
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 472 times
Been thanked: 108 times
Contact:

Post by serge_girard » 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!

User avatar
srvet_claudio
Posts: 2044
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 35 times
Been thanked: 146 times
Contact:

Post by srvet_claudio » 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
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com

User avatar
dragancesu
Posts: 582
Joined: Mon Jun 24, 2013 11:53 am
DBs Used: DBF, MySQL, Oracle
Location: Subotica, Serbia
Has thanked: 16 times
Been thanked: 111 times

Post by dragancesu » Tue Dec 12, 2017 1:42 pm

Maybe this help, just

build test
Attachments
rob.zip
(14.82 KiB) Downloaded 45 times

ROBROS
Posts: 152
Joined: Thu May 25, 2017 6:30 pm
DBs Used: DBF
Has thanked: 47 times
Been thanked: 13 times

Post by ROBROS » Tue Dec 12, 2017 6:42 pm

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: 152
Joined: Thu May 25, 2017 6:30 pm
DBs Used: DBF
Has thanked: 47 times
Been thanked: 13 times

Post by ROBROS » Tue Dec 12, 2017 6:56 pm

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