FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Wrong calculated Textposition in Class VTitles ?
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Wrong calculated Textposition in Class VTitles ?
Posted: Sun Sep 20, 2009 01: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



A extrem Test ( Out of range )



Best Regards
Uwe :-)
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.

Continue the discussion