Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rotated text in flexgrid column header
Message
From
05/07/2001 10:10:42
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
05/07/2001 09:32:23
Patrick O'Neil
American Specialty Information Services
Roanoke, Indiana, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00526917
Message ID:
00526936
Views:
15
>am using the microsoft flexgrid control 6.0
>
>have been trying to find a way to display in the header (top fixed row)
>text which is rotated 90 degrees. my labels (that i want to rotate)
>are up to 8 characters long, but in the rest of the grid, i only need
>to display a single character, and would therefore like my columns to be only
>about 1 to 3 characters wide.
>
>anybody know how to do this ? or is there an entirely different approach
>i could use ?
>
>thanks,

Patrick,
Assuming your columns need to moved-sized IMHO best is to have bitmap versions of rotated text and set them with Cellpicture.
If wrapping would work for you then changing header line count and having only one char per header line is another way. Or you could have your label separated with spaces per char and set wordwarp on, specify header row height and alignment.
If columns wouldn't move-size at all native VFP grid an image serving as a header might be faster and easier.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform