Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing grid class in vcx
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00879570
Message ID:
00879572
Vues:
16
This message has been marked as the solution to the initial question of the thread.
Hi Jos,
1) a) You can use scx as table and locate record for: lower(baseclass)="grid" and lower(class)="oldgrid" and lower(classloc)="oldgridclasslibrary" and replace fields class and classloc.
b) Or you can use th-sw for editing vcx/scx "VcxEditor" by Rock Legendre or "Quick and dirty VCX and SCX editor" by Wes Tatter

2-3) Any pitfalls - if you define columns in your grid class.

MartinJ

>Hi All. I have a class which contains a number of forms. Each form has a standard VFP8 grid. Is there an easy way to change all forms in my class to use a custom grid class instead? Specifically:
>
>1) Can I simply replace the Class field in the class library vcx file to be the class name of my custom grid?
>
>2) Will the grid still retain its current properties such as header caption, column width, colour, etc?
>
>3) Any pitfalls to be aware of?
>
>Thanks
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform