[Gambas-user] New MaskBox control

Jussi Lahtinen jussi.lahtinen at ...626...
Thu Jan 6 13:43:26 CET 2011


Did you delete old installation?

My compilation script:

#!/bin/sh
sudo rm -f /usr/local/bin/gbx3 /usr/local/bin/gbc3 /usr/local/bin/gba3
/usr/local/bin/gbi3
sudo rm -rf /usr/local/lib/gambas3
sudo rm -rf /usr/local/share/gambas3
cd ~/trunk
./reconf-all && ./configure -C && make && sudo make install
sudo -k

Jussi



On Thu, Jan 6, 2011 at 04:36, Michael <mdavies5 at ...169...> wrote:

> Benoit,
> Great Idea. I have installed version 3447 and confirmed this with svn
> -info but I cannot find the MaskBox in the toolbox. This may be my lack
> of Linux. I have installed with:
> cd trunk
> svn update
> ./reconf
> ./configure -C
> make
>
> When I look at the properties of file /usr/local/bin/gbx3 it has a
> modified date of 2nd Dec 2010. Is this correct? Is there a step in the
> installation that I have missed?
>
> Regards
> Michael
>
>
> On 06/01/11 04:12, Benoît Minisini wrote:
> > Hi,
> >
> > As an intermediate goal before rewriting the ValueBox control, I have
> > implemented a MaskBox control, that is a TextBox with a mask.
> >
> > How does it work ?
> >
> > By setting the mask property, you define which characters are
> non-editable
> > separators, and which characters can be entered by the user
> >
> > At the moment, the following mask characters are implemented:
> >
> > '9' : any digit.
> > '0' : any digit, with '0' as default
> > '6' : any hexdecimal character
> > 'A' : any letter ('A'-'Z' and 'a'-'z')
> > '?' : any character.
> >
> > Every other character is a separator. If you want to use a mask character
> as
> > separator, use the '\' escape character.
> >
> > Examples:
> >
> >       To enter a date, set Mask to "00/00/0000".
> >       To enter an IP address,set Mask to "999.999.999.999"
> >       To enter a french currency, set Mask to "999 999 990,00 €"
> >
> > Make remarks and enjoy it!
> >
> > Regards,
> >
>
>
> ------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment,
> and,
> should the need arise, upgrade to a full multi-node Oracle RAC database
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> 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