Information générale
Catégorie:
Codage, syntaxe et commandes
you can sub-class any VFP object
including DataEnvironment,Page, Column and Header
you can also store your subclasses either in .PRG files or a .VCX
the only problem is you can't use the visual tools for the above mentioned
objects
we created tools that would help us maintain the option of developing
visualy and still have the power of OO (ie abiity to sub-class them) e.g.
the DE-Extractor for DataEnvironments
Arnon
>
>> know I can't subclass column or header or can I ?
>You can subclass the header. Check the Foxpro Advisor April 97.
>
>I tried it but the only little problem was when I wanted to put my
>colors
>for the header I had to go to the INIT() method. It's not a real bug.
>You can drop it in the grid to replace the default headers without your
>colors.
>
>You can't modify it with the class browser. You have to go in .VCX
>directly.
>
>But now when I click on it, It reorders any columns.
>
>It's a good start for you
>Steve
>
>
Précédent
Suivant
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