TEXTBOTTOM clause working?

TEXTBOTTOM clause working?

Postby Detlef Hoefner » Wed Oct 07, 2009 12:59 pm

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  Expand view
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
User avatar
Detlef Hoefner
 
Posts: 312
Joined: Sat Oct 08, 2005 9:12 am
Location: Germany

Re: TEXTBOTTOM clause working?

Postby ukoenig » Wed Oct 07, 2009 1:48 pm

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:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: TEXTBOTTOM clause working?

Postby Detlef Hoefner » Thu Oct 08, 2009 8:25 am

Hi Uwe,

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

Thanks and regards,
Detlef
User avatar
Detlef Hoefner
 
Posts: 312
Joined: Sat Oct 08, 2005 9:12 am
Location: Germany

Re: TEXTBOTTOM clause working?

Postby ukoenig » Thu Oct 08, 2009 9:50 am

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:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 61 guests

cron