Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Who's going to DevEssentials 2004?
Message
From
13/05/2004 12:46:17
 
 
To
12/05/2004 18:43:45
General information
Forum:
Visual FoxPro
Category:
Conferences & events
Miscellaneous
Thread ID:
00902913
Message ID:
00903692
Views:
22
Hi Marcia,

Here I send you a brief description, the classname I use in addobject is of a custom class I created by selecting the controls on a form and then save them as class. After that I added the method objcustomizer in the class designer. It contains just simple code like this

with this
.left = left
.top = top
* etc
endwith
>Within de form building code I use scan - endscan to loop through the list of questions that must be set upon the form. For each question I do follow
>
>with form.pageframe.page
> .addobject('objectname','classname')
> oNewobject = evaluate(form.pageframe.page.newobject)
> oNewobject.visible = .T.
> oNewobject.objcustomize(left, top, width, right, caption)
>endwith
>
>all works well except the objcustomize line. That seems to be skipped.
>
>I hope this gives you more info and you can help me out.
Previous
Reply
Map
View

Click here to load this message in the networking platform