Article View: comp.lang.basic.visual.3rdparty
Article #70Re: How to create labels or Textboxes in Run-Time
From: 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 >
Technical Details
Message-ID:
<01bcac88$9a687d00$9505db81@endns1.eas.asu.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<01bcac37$febfe960$9af141c2@nop48024>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 1053fc,3495e0c9d23ad76a X-Google-Attributes: gid1053fc,public X-Google-Thread: f5f6f,3495e0c9d23ad76a X-Google-Attributes: gidf5f6f,public X-Google-Thread: 108717,3495e0c9d23ad76a X-Google-Attributes: gid108717,public X-Google-Thread: fde1d,3495e0c9d23ad76a X-Google-Attributes: gidfde1d,public X-Google-Thread: 10b213,3495e0c9d23ad76a X-Google-Attributes: gid10b213,public X-Google-Thread: 113d8f,3495e0c9d23ad76a X-Google-Attributes: gid113d8f,public X-Google-Thread: 110e3b,3495e0c9d23ad76a X-Google-Attributes: gid110e3b,public X-Google-Thread: 10127e,3495e0c9d23ad76a X-Google-Attributes: gid10127e,public From: "Faraz Khan" <Faraz.Khan@asu.edu> Subject: Re: How to create labels or Textboxes in Run-Time Date: 1997/08/19 Message-ID: <01bcac88$9a687d00$9505db81@endns1.eas.asu.edu> X-Deja-AN: 267893296 References: <01bcac37$febfe960$9af141c2@nop48024> Organization: Arizona State University Newsgroups: comp.lang.basic.visual.3rdparty,comp.lang.basic.visual.misc,comp.programming,es.comp.lenguajes.visual-basic,microsoft.public.de.vb,microsoft.public.es.vb,microsoft.public.vb.controls,microsoft.public.vb.controls.creation,microsoft.public.vb.contro