FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Rotate Text on Screen
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Rotate Text on Screen
Posted: Thu May 21, 2009 12:19 AM

Hi,

Is there anyway to rotate standard text (Say) on the screen?

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)
Posts: 1335
Joined: Fri Jun 13, 2008 11:04 AM
Re: Rotate Text on Screen
Posted: Thu May 21, 2009 05:36 AM
Dear Mr.Jeff,

You may have to use an Animated GIF file like the one given below


Regards

Anser
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Rotate Text on Screen
Posted: Thu May 21, 2009 06:06 AM

Jeff,

In case that you meant to rotate a font, please review function FontRotate() and use in FWH\source\classes\tabs.prg

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Rotate Text on Screen
Posted: Thu May 21, 2009 11:45 AM

Another way
Define oFont the normal way
From that font you can derive rotated fonts :
oFont90 := oFont:Rotate( 900 )

Regards



G. N. Rao.

Hyderabad, India
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Rotate Text on Screen
Posted: Thu May 21, 2009 11:52 AM

Jeff, there is an example on:

http://www.fwcodesnips.com/

45 grados on dialog

Regards,
Otto

Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Re: Rotate Text on Screen
Posted: Fri May 22, 2009 11:08 PM

Thanks Everyone.

I have that part working now. I ended up using the info from Otto's site.

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Rotate Text on Screen
Posted: Sat May 23, 2009 10:18 AM
Hello Jeff,

I don't know, if You need maybe painting vertical text.
It is not possible with the normal < rotate >
The position of the Char's must be calculated.



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