Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Header Class Question
Message
From
28/01/2002 08:45:15
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00611467
Message ID:
00611472
Views:
24
>I like to use grids visually and have created a bunch of subclasses in a .vcx that fit my needs. I would like to add a special header class, and have found some code that substitues a user defined header for the default header in each column in the grid init(). My problem is that the class designer will not let me put class definition code for my header class in the grid init() code. If I put the header definition in a separate .prg and have a line of code "do HeaderDefinition.prg" at the beginning of the init, it just ignores it and gives me an error that my header class is not defined.
>
>Is there any way around this?
>Jay

Jay,
Look at 'Two grid classes' in download section.
Instead of 'do', set procedure to your .prg or better yet use NewObject() in VFP6 and up.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform