On Tue, 25 Nov 2008 06:33:39 am [EMAIL PROTECTED] wrote: I don't suppose that when You've got a this working you could write a tutorial on it for everyone could you?, I tried to make a control and failed miserably.
regards Richard > I have created a Gambas 2 project that contains some user controls, and > I would like to make it a component. > > > > I have successfully compiled and installed the component, including its > .component, .list and .info files in their proper places. So now I can > insert the controls provided by my project into a form in the Gambas > IDE. Still, some things do not work as I imagine they should, and I have > some questions: > > > > - Can I make the IDE's property window display the public properties > that are new with my controls, compared to UserControl? This would be > most helpful, in fact, it was the main reason why I wished to make a > component. I have seen that there is a hidden property named _Properties > to every control class which obviously contains the names of the > properties to display in the IDE. Can I assign values to this property > in Gambas code, and will this have the desired effect? > > > > - My controls do not draw themselves when inserted into a form in the > IDE. They only draw a rectangle and the name of the control. Can I make > them show their real look in the IDE? As for visualization (which works > very well once a form containing my controls has been launched), my > controls draw themselves through a DrawingArea that fills them > completely. > > > > - In the toolbox, my controls are represented by tool buttons displaying > only a question mark. Can I make the Gambas IDE's toolbox display my > self-defined controls with an icon of my choice? > > > > - In the "components" tab of the project properties dialog, my component > is listed as "not finished but stable" but without a description. How > can I make the description show? > > > > The project, including full HTML documentation in English, is to be > found under www.sourceforge.net/projects/gambasmeasuring/ > > > > Thanks for any help to come, > > > > Daniel Fuchs > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event anywhere > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
