Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing grid class in vcx
Message
 
To
21/02/2004 04:17:23
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00879570
Message ID:
00879574
Views:
14
This message has been marked as a message which has helped to the initial question of the thread.
Hi Josh,

Don't change baseclass, baseclass must be grid always (VCX and SCX).

MartinJ

>Hi Martin
>
>I do not fully understand the relation of the BaseClass field in the vcx table. I have changed Class and ClassLoc and it works, no problem. Must I change BaseClass as well? It currently simply says "grid".
>
>Thanks
>
>
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform