Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form calls function in design mode
Message
From
20/04/2009 12:29:25
 
 
To
20/04/2009 11:57:38
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01395196
Message ID:
01395603
Views:
69
Edward,

>>It would be a rarity, imho, to have custom column control.

Not for us. We use them all the time. If you have one, you can add a column to the grid by setting it's column count but when you edit the form again you get an error because it can't find the custom class that's contained in the PRG. You have to make sure your custom column class is loaded via "SET PROCEDURE TO CustomClass.prg" in order to edit your control.

>>In most cases one uses custom classes adding to a regular column, and these
>>classes (mostly, containers) can and should be created through class designer
>>and they are 'visible' in form designer.

According to VFPs help, custom Header Classes have to be PRG based. We tried to use a visual class library but couldn't get it to work. The PRG based control works great except for the issues I mentioned.

Applies To: Column Object
Visual FoxPro includes the HeaderClassLibrary program (.prg) in the project during a project build.
If you set HeaderClassLibrary at run time, you must use the full file name including its extension.

Thanks,

Steve
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform