Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
Klik! SizeLib.Net
 Klik! Software Forum : Klik! SizeLib.Net
Subject Topic: Trouble with controls added at runtime Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
douglas0627
Newbie
Newbie


Joined: July 13 2010
Location: United States
Posts: 1
Posted: July 13 2010 at 9:20pm | IP Logged Quote douglas0627

I'm currently having an issue with controls that I'm adding at runtime.  I'm setting the controls size and location properties.  Is there a property of the resizer that I can use to adjust these settings or a better way to get these added controls to resize properly?  Thanks
Back to Top View douglas0627's Profile Search for other posts by douglas0627
 
Klik! Support
Admin Group
Admin Group
Avatar

Joined: October 01 2003
Location: Turkey
Posts: 313
Posted: July 14 2010 at 7:31am | IP Logged Quote Klik! Support

Hello Douglas,

Each control in your form/usercontrol is represented as an
SLControl class inside the Controls
collection of SLResizer component. In runtime, you can get
the SLControl class associated with your control and adjust
the resizing properties like this :

Klik.Windows.Forms.SizeLib.v3.SLControl MySLControl =
slResizer1.Controls.FromControl(MyControl);
MySLControl.ResizeFont = false;


__________________
Best Regards,

Klik! Support Team
Back to Top View Klik! Support's Profile Search for other posts by Klik! Support
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum

Powered by Web Wiz Forums version 7.6
Copyright ©2001-2003 Web Wiz Guide

This page was generated in 0.2031 seconds.