Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vertical text
Message
From
07/03/2005 03:17:19
 
 
To
06/03/2005 13:49:56
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Environment versions
Visual FoxPro:
VFP 8
Network:
Windows 2000 Server
Miscellaneous
Thread ID:
00993122
Message ID:
00993205
Views:
13
Hi there :)
I have small function breaking string into
individual letters folowed by chr(13).
It works well with showing vertical text in labels on forms
and also in reports. Only problem is that You will need report expression long enough to show entire vertical content, which might not that easy
without changing actual band sizes in already designed reports.

function chopper13
    parameters cString
    local  cString,result_string
    result_string=''
    do while len(cString) > 0
        result_string=result_string +left(cString,1)+chr(13)
        cString = right(cString,len(cString)-1)
    enddo
    return result_string
    ********************
So just add report expression in the report, strech it verticaly long enough to show entire text and in expression write call to this fuction passing parameter string you want shown vertically.
chopper13('MyVerticalText')  
I tried this only with VFP6 SP5.

Rgds++








>Some idea to print a vertical string?
>Thanx
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Previous
Reply
Map
View

Click here to load this message in the networking platform