> > > > For example, you have to: > > 1) Create a class named "MyLabel" in your project. > 2) Use "INHERITS Label". > > But you have to use it manually, and you won't see it in the IDE toolbox. > > If you want that, you have to create a component, as explained in the link > provide by nospam x 3. > > Regards, > > -- > Beno?t Minisini > > Thanks. I was able to do all this but it raised a few questions: 1. How do I add an instance of my custom control to a form? I tried to just instantiate a NEW instance of it passing the formname as the parent parameter but it didn't appear on the form. So then I used the Show method and set the X and Y properties but still couldn't get it to show up. 2. How do I define custom parameters for the _new method? I've managed to define the method using my own parameter but not sure what order to pass them in when I instantiate (i.e. do I pass the parent parameters then the custom ones or vice versa)?
thanks again Aaron ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user