Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Column Class
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00024313
Message ID:
00024477
Vues:
42
>>>>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform