Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Anchor & Adding controls at runtime
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01036333
Message ID:
01036340
Views:
14
Thanks, that appears like it will work:
PROCEDURE CLICK
      this.AddObject("cn","container")
	this.cn.height = this.Parent.Height-30
	this.cn.width = this.Parent.width -10
	this.cn.anchor = 240
	this.cn.visible = .T.
   ENDPROC
>Try to set control's Anchor to 0 and back after you add control.
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform