>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:
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.