>>>In the Form Designer you can stack controls on a form and send them to the back or front using the format command.
>>>How is this done when defining a class programmatically to create a form object?
>>>
>>>Thanks,
>>>
>>>dg
>>
>>Check ZOrder method in Help.
>
>Thank you. What is the syntax to be used in the class definition?
>
>
>Define Class lblIPAddressClass As Label
> FontBold = .T.
> FontName = "Univers LT Std 55"
> FontSize = 10
> BackStyle = 0
> Caption = ""
> Height = 130
> Left = -14
> Top = -3
> Visible = .F.
> Width = 200
> Rotation = 30
> Name = "LblIPaddress"
> Visible = .T.
>
>??? ZOrder
>
>Enddefine
>
ZOrder is a method, so you will call it in the form's Init after all objects are instantiated.
thisform.txtAddress.ZOrder(1)
tj
If it's not broken, fix it until it is.
My Blog