Thread View: comp.lang.basic.visual.3rdparty
3 messages
3 total messages
Started by Nuno Pimentel
Tue, 19 Aug 1997 00:00
How to create labels or Textboxes in Run-Time
Author: Nuno Pimentel
Date: Tue, 19 Aug 1997 00:00
Date: Tue, 19 Aug 1997 00:00
25 lines
2082 bytes
2082 bytes
Hi, I�m trying to make a calendar control for a school schedule that shows the final output of de schedule for each class. I though that the best way to mark lessons in the days of the week was to create labels to contain de information needed to the output. Sence I don�t know in advanced what is the number of lesson per week for each class a need to create the labels in run-time to reduce waist of resources. Thist labels have another propriety that I need, they can be draged and droped from where they are. They can permute betteewn then selves (drag and drop propriety). I�m really needing to make this control to my final project. If you can help me I would apreciate. Note: If you know any control that already makes it please tell me because I really need it. Thanks for all your atention! Over and Out !!! nunopimentel@mail.telepac.pt
Re: How to create labels or Textboxes in Run-Time
Author: Faraz Khan
Date: Tue, 19 Aug 1997 00:00
Date: Tue, 19 Aug 1997 00:00
46 lines
2794 bytes
2794 bytes
You need to creat atleast one instance of a control at design time and thatshoudl be in an array. Then at runtime just use Load statement to load(create) new more than one instance of the control. e.g. if you have a label control named label1(0) ( must be in an array) then to create another label at runtime do: Load Label1(1) ' new label is created Label(1).caption =..... Label(1).move =..... etc etc.... Note that the new control will inherent the properties of the original control. Nuno Pimentel <nunopimentel@mail.telepac.pt> wrote in article <01bcac37$febfe960$9af141c2@nop48024>... > Hi, > > I�m trying to make a calendar control for a school schedule that shows the > final output of de schedule for each class. > I though that the best way to mark lessons in the days of the week was to > create labels to contain de information needed to the output. > Sence I don�t know in advanced what is the number of lesson per week for > each class a need to create the labels in run-time to reduce waist of > resources. > Thist labels have another propriety that I need, they can be draged and > droped from where they are. They can permute betteewn then selves (drag and > drop propriety). > > I�m really needing to make this control to my final project. > If you can help me I would apreciate. > > Note: If you know any control that already makes it please tell me because > I really need it. > > Thanks for all your atention! > > Over and Out !!! > > nunopimentel@mail.telepac.pt >
Re: How to create labels or Textboxes in Run-Time
Author: Jeff Law
Date: Wed, 20 Aug 1997 00:00
Date: Wed, 20 Aug 1997 00:00
43 lines
2603 bytes
2603 bytes
As with any control, the answer is to start with a non-visible control with an Index of zero. You can then create instances of the control using Load with an Index of 1 or greater. -- Jeff Law DataMasta Limited Mt Maunganui, New Zealand Website: http://www.wave.co.nz/pages/datamasta Email: jefflaw@datamasta.co.nz Nuno Pimentel <nunopimentel@mail.telepac.pt> wrote in article <01bcac37$febfe960$9af141c2@nop48024>... > Hi, > > I�m trying to make a calendar control for a school schedule that shows the > final output of de schedule for each class. > I though that the best way to mark lessons in the days of the week was to > create labels to contain de information needed to the output. > Sence I don�t know in advanced what is the number of lesson per week for > each class a need to create the labels in run-time to reduce waist of > resources. > Thist labels have another propriety that I need, they can be draged and > droped from where they are. They can permute betteewn then selves (drag and > drop propriety). > > I�m really needing to make this control to my final project. > If you can help me I would apreciate. > > Note: If you know any control that already makes it please tell me because > I really need it. > > Thanks for all your atention! > > Over and Out !!! > > nunopimentel@mail.telepac.pt >
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads