[Gambas-user] Request to add...

Benoit Minisini gambas at ...1...
Wed Aug 2 22:38:18 CEST 2006


On Wednesday 02 August 2006 21:34, Ron Onstenk wrote:
> On Wednesday 02 August 2006 20:58, James Hatridge wrote:
> > Hi Benoit et al..
> >
> > On Wednesday 02 August 2006 20:05, Benoit Minisini wrote:
> > > On Wednesday 02 August 2006 13:45, James Hatridge wrote:
> > > > Hi all,
> > > >
> > > > First of all I have so far really liked gambas. I have found one
> > > > thing that I would like to have added to the IDE -- styles. When I
> > > > make a textbox or textlabel I would love to be able to just tell
> > > > gambas to use style X.
> > > >
> > > > Thanks,
> > > >
> > > > JIM
> > >
> > > The widget style is chosen by the user, not by the programmer. Why do
> > > you want to change the style of one widget (if it possible) ?
> >
> > You missunderstand me. As the programmer, when I set up a new textbox
> > (for example) and click F4 the properties box is opened. I prefer font X,
> > size, etc. I have to change this every time I make a new box. I would
> > like to have a way to set a style, so that I click at one place and
> > always gets the same type box. This would be helpful.
> >
> > Thanks,
> >
> >
> > JIM
>
> I know what you mean
>
> I't is like in MS-Access.
> There when you design a form you can 'preset' the size, color and more
> This is done by open the propertie sheet not on the control at the form
> but at the toolbox.
> Change there size/color/font/align and more.
> Would indeed nice to have.
>
> Also you can add/remove a label for textbox and style them.
> Adding a textbox adds also a label beside of it automagically.
>
> The label is a child of the TextBox control
> txtMyTextboxMemberID.Controls(0).Caption="Member ID"
>
> I like btnMyyz# instead of Button#, could also be done wheni'm right to
> remember as default name for the control.
>
>
> Ron

You can make your "LabelTextBox" control easily in Gambas if you want, by 
using the UserControl class.

-- 
Benoit Minisini





More information about the User mailing list