Text on the window
Text on the window
Can I display text on the window, using the oWnd:Say() method, vertically (or at an angle) ?
- nageswaragunupudi
- Posts: 10729
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 10 times
- Contact:
Re: Text on the window
Code: Select all | Expand
DEFINE FONT oFont NAME "IMPACT" SIZE 0,-60 BOLD NESCAPEMENT 900
DEFINE FONT oFon2 NAME "VERDANA" SIZE 0,-30 BOLD NESCAPEMENT 2700
DEFINE WINDOW oWnd FROM 0,0 TO 400,300 PIXEL
oWnd:bPainted := < | hDC |
oWnd:SayText( "IMPACT", nil, "L", oFont, CLR_HRED )
oWnd:SayText( "VERDANA", nil, "R", oFon2, CLR_GREEN )
return nil
>
ACTIVATE WINDOW oWnd CENTERED
RELEASE FONT oFont, oFon2

Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India