I just retested my code I sent him. Works fine. Sets the label's caption:
I created a Control class and dropped a label on it
I added a property called 'builder' and set it to MyBuilder.prg
I created the prg MyBuilder and added the following code:
LPARAMETERS oObject, cButton
cCaption = INPUTBOX("Enter a caption")
oObject.label1.Caption = cCaption
RETURN
>Mike,
>
>>Is this something to do with the fact that I'm using a Control control and not a Container control? Any ideas?
>
>It has everything to do with it. Nothing, but the class itself can see the internal objects of a Control subclass.
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people