Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Network:
Windows 2003 Server
>Probably something obvious, but I'm not getting it.
>
>I have defined a column class and its header class in a prg file. In that class definition, I set the HeaderClass property, and the HeaderClassLibrary property to the full path to the prg file.
>
>In the form designer, I instance a grid on a page and set the grid's MemberClass property to the column class in the prg file, and the MemberClassLibrary property to the full path to the prg file.
>
>When I run the form, the grid works normally.
>
>Back in the form designer, I select the grid > right click > copy, go to a different page, and right click and paste. I get an error message saying that the header class definition is not found. If I look at the properties of the columns in the grid, I can see that the HeaderClass and HeaderClassLibrary are correct.
>
>Why does this happen? Is there a way to copy a grid set up in the form designer to another container?
>
>Thanks,
>Jim
If I'm not mistaken, form designer works classes defined in VCX not PRG. You can get it to work by hacking the SCX file, but all editing tends to assume classes in VCX (thus the complaint when you try to copy/paste into different form -- you're probably going to get the same error if you copy/paste into the same form).
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement