StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



User ControlsExpand / Collapse
Author
Message
Posted 03/26/2007 3:45:28 PM
StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: 2 days ago @ 4:06:22 PM
Posts: 313, Visits: 1,274
I'm just starting to play around with SF User Controls and was wondering if there was a way to dynamically load a control on a form.  I tried to instantiate like a form... frm.show() and it did not work.  Is there another way to accomplish this?

Thanks,

Tim

Post #7715
Posted 03/26/2007 3:59:09 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 5:04:58 PM
Posts: 4,780, Visits: 4,744
Below shows a sample of adding a textbox to a form dynamically.

Dim loText As New MicroFour.StrataFrame.UI.WIndows.Forms.TextBox

loText.Left = 10
loText.Top = 10
MyForm.Controls.Add(loText)

Post #7717
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 1:45am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.094. 9 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.