General information
Category:
Forms & Form designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only