Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to create builders for visual classes
Message
De
28/07/2018 17:03:07
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
27/07/2018 16:58:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Divers
Thread ID:
01661362
Message ID:
01661371
Vues:
79
J'aime (2)
>Hi. We're developing an apllication, for which I developed several visual classes, like special comboboxes, buttons, etc. We're a group of three that are involved in programming. But, all this time, the other members of the group constantly are asking me how to fill the user-properties in order for an object to work correctly when executing.
>
>So, I think that I'd better develop builders for those classes so that it's easy for them to visually create objects from those classes using those builders. Anyone can help me know what is the best/common way to create builders?

Here's my builder:
* curform.prg
ASELOBJ(aa,1)
RETURN aa[1]
I actually have an intellisense macro which expands into
ox=curform()
So I only need to have the object selected in the class editor and then type ox{space} in the command window. Then I play with properties of ox any way I like, including things like
ox.writemethod("blabla", _cliptext, .t.)
when I have the code on the clipboard, of course. Sometimes instead of that I just use "* this makes coffee" as the 2nd parameter. I like this because then the method is not empty and comes on top of the methods combo in the code editor.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform