Page 1 of 1

TEXTBOTTOM clause working?

Posted: Wed Oct 07, 2009 12:59 pm
by Detlef Hoefner
Hi all,

i want to show several buttonbmp each with a bitmap of size 32 height x 49 width.
The prompts i wanted to show below the pictures.
But all prompts are vertically centered even when i use TEXTBOTTOM.

Here my code:

Code: Select all

REDEFINE BUTTONBMP oB[ 1 ] ID 10 OF oDlg ACTION oDlg:End() BITMAP "FLAG_DE" PROMPT "&Germany" TEXTBOTTOM
and here my result:
Image

Are my bitmaps too large?

Thanks for all ideas and help,
Detlef

Re: TEXTBOTTOM clause working?

Posted: Wed Oct 07, 2009 1:48 pm
by ukoenig
Hello Detlef,

it is a Problem, I noticed as well. The Text is shown always centered.
There are Screenshots in my Specification of the SkinTools ( BTNBMP added ),
to show the Problem.

I think the Text-position must be calculated :
Image

With the SkinTools, it is easy to test it :

Image

Image

Best Regards
Uwe :lol:

Re: TEXTBOTTOM clause working?

Posted: Thu Oct 08, 2009 8:25 am
by Detlef Hoefner
Hi Uwe,

i don't understand your reply.
Does it mean your tool will solve my problem?

Thanks and regards,
Detlef

Re: TEXTBOTTOM clause working?

Posted: Thu Oct 08, 2009 9:50 am
by ukoenig
Detlef,

the Tool shows different Button-sizes at Runtime.
That makes it easy, to test all Combinations with included BMP's ( Top, Left, Bottom,Right )
It doesn't solve the Problem. I asked as well for a Solution.

Best Regards
Uwe :lol: