[Gambas-user] Tutorial on building a "user control"?

Gerry Douglas geraldpdouglas at ...626...
Wed Oct 17 19:40:14 CEST 2012


Dear Fabien,

Thank you for your advice.  I have looked at the code for those user
controls, and I believe I understand the syntax for creating a user
control.  However, I am not clear on how in the IDE to actually do this.
For example, I want to create a control that has on it a grid and a
scrollbar.  Do I start with a container in the IDE and add those controls,
than add my logic and somehow save as a user control so it will appear on
the toolbar in the IDE?

Sorry I am not quick to pickup on this.  Once I get a simple example
working I will be fine.

Regards,
Gerry.

On Tue, Oct 16, 2012 at 2:29 PM, Fabien Bodard <gambas.fr at ...626...> wrote:

> 2012/10/16 Benoît Minisini <gambas at ...1...>:
> > Le 16/10/2012 19:01, Gerry Douglas a écrit :
> >> Hi,
> >>
> >> I have built a number of healthcare applications in VB targeted for
> >> touchcreen.  To get an idea take a look at ...
> >>
> >> http://www.youtube.com/watch?v=cf49zRxhKhc
> >>
> >> My first challenge was that the scroll bars on the listbox could not be
> >> made larger, so it was very hard to use one's finger on the
> touchscreen.  I
> >> got around this by creating a user control for a "Touchscreen Listbox"
> with
> >> large scroll bars.  Once I figured out how user controls worked in VB I
> >> made many more, like a diagnosis picker, medication picker, etc.
> >>
> >> I would like to learn how to build a user control in Gambas. Could
> anyone
> >> point me to a tutorial?
> >>
> >> Regards,
> >> Gerry.
> >
> > All controls from gb.form component are user controls made in Gambas.
> > You can look at the gb.form source code.
> >
> > --
> > Benoît Minisini
> >
> >
> ------------------------------------------------------------------------------
> > Don't let slow site performance ruin your business. Deploy New Relic APM
> > Deploy New Relic app performance management and know exactly
> > what is happening inside your Ruby, Python, PHP, Java, and .NET app
> > Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> > http://p.sf.net/sfu/newrelic-dev2dev
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>
> Building control in gambas is a dream :-)... you will see
>
> i think for your project a user form with a gridview and a scrollbar
> will do the job... but ... all can be done :-) see iconview or grid
> view for most advanced usercontrol or the filechooser or dir chooser
> for assembly (composed) control
>
> --
> Fabien Bodard
>
>
> ------------------------------------------------------------------------------
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list