Wrong calculated Textposition in Class VTitles ?

Wrong calculated Textposition in Class VTitles ?

Postby ukoenig » Sun Sep 20, 2009 1:54 pm

Hello,

testing the new VTitle-Tool, I noticed a wrong Calculation of the Textposition,
using different Shadow-Positions.
With the same defined Texposition, the Text is not shown in Relation to the
VTitle-Body ( it works only, using BOTTOMRIGHT )
The Textposition is calculated from the Shadow-Border.

@ 420, 150 TITLE oBar1 size 500, 105 of oDlg70 SHADOW BOTTOMRIGHT SHADOWSIZE 20
@ 420, 150 TITLE oBar1 size 500, 105 of oDlg70 SHADOW BOTTOMLEFT SHADOWSIZE 30
@ 420, 150 TITLE oBar1 size 500, 105 of oDlg70 SHADOW TOPLEFT SHADOWSIZE 40
@ 420, 150 TITLE oBar1 size 500, 105 of oDlg70 SHADOW TOPRIGHT SHADOWSIZE 40

@ 30, 20 TITLETEXT OF oBar1 TEXT "New" FONT oTextFont COLOR 128
@ 60, 10 TITLETEXT OF oBar1 TEXT "VTitles" FONT oTextFont COLOR 128

Image

A extrem Test ( Out of range )

Image

Best Regards
Uwe :roll:
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: Google [Bot] and 54 guests