Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Column Class
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00024313
Message ID:
00024477
Views:
46
>>>>>Does anyone know how to create a column class. Thanks for any help you might offer.
>>>>
>>>>Please let me know if you know how.
>>>
>>>Nabil & Lamar: I don't know about a CLASS, but you can make a BUILDER which will update all the columns on a grid to a standard set of properties. You can even set the width of the grid depending on the length of the field.
>>>
>>>Barbara
>>
>>Any ideas on how to make a builder?
>
>Look for ASELOBJ()...


ASELOBJ() is the first step - it gives you an array of selected objects (just the grid for a builder). Next, you can set any properties you want. Set Grid properties like DeleteMark and Font. Next, loop through all of the columns (using 1 to columncount) and set any column properties, including width, Font, header font, textbox font, etc.

Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform