Re: [Gambas-user] Add Control.Focusable = False to the gambas3 wish list...
Brought to you by:
gambas
From: Ricardo D. M. <oce...@gm...> - 2011-02-01 06:51:17
|
Hi Benoit, More of times, I use gambas3 as mysql frontend. You got some textboxes to show the user calculate or no editable fields in forms (for example in a invoice total field is a calculate by code). Users have learned push tab key to jump the next editable control after write some data in a textbox. It's not a good idea to set no editable textboxes to enabled=false, because with some themes disabled controls are not so clear to read the text inside. Because of this, I set to readonly=true and background=systembackground these calculate or not editable textboxes. But they are focusables when users push tab key to jump the next control. I attach an example pic. You can see some textboxes with background set to systems background that I want no get focus never. Regards, Ricardo Díaz 2011/1/31 Benoît Minisini <ga...@us...> > > Hi to all, > > > > I'd like you can choose which controls will be focusable and which ones > no. > > Too much difficult to develop? > > > > Regards, > > Ricardo Díaz > > You can only decide that for DrawingArea and ScrollArea. Other controls > decide > that on their own. Unless you use the Enabled property of course. > > Why do you need that? > > -- > Benoît Minisini > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better > price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Gambas-user mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gambas-user > |