Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Format - Send to back
Message
 
 
To
01/09/2010 16:59:35
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01479654
Message ID:
01479668
Views:
108
This message has been marked as the solution to the initial question of the thread.
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform