Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rotated text in flexgrid column header
Message
From
05/07/2001 10:21:13
Patrick O'Neil
American Specialty Information Services
Roanoke, Indiana, United States
 
 
To
05/07/2001 10:10:42
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00526917
Message ID:
00526942
Views:
17
>>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


cetin,
thanks for the ideas. i think the wordwrap will be the most suitable.
i forgot to mention, that 1) the columns won't be moved or resized and
2) the column headings can be created dynamically by the user (and would
therefore would complicate things to create a bitmap on the fly).
thanks,
patrick
Previous
Reply
Map
View

Click here to load this message in the networking platform