Page 3 of 3

Re: Button position in a grid

Posted: Mon Dec 11, 2017 9:08 pm
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

Re: Button position in a grid

Posted: Mon Dec 11, 2017 9:23 pm
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

Re: Button position in a grid

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

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

Re: Button position in a grid

Posted: Tue Dec 12, 2017 1:35 pm
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

Re: Button position in a grid

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

build test

Re: Button position in a grid

Posted: Tue Dec 12, 2017 6:42 pm
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

Re: Button position in a grid

Posted: Tue Dec 12, 2017 6:56 pm
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.