Hi Charles,

On za, 2012-02-11 at 05:10 -0800, charlesg wrote:
> 
> Willy Raets wrote:
> > 
> > Is there a way in Gambas2 (or Gambas3), when using TAB-key on keyboard
> > to have it skip (in my case all read only) controls and just go to those
> > that matter for input?
> > 
> 
> 2 workarounds:
> 
> firstly:
> 
> 
> > Public Sub TextBox3_GotFocus()
> >   TextBox1.SetFocus
> > End

Thanks for the workarrounds.
The first one I came up with myself meanwhile, quite stupid of me not to
think about that before (bit to focussed on how things work in VB, need
to detox there :-)

> > 
> secondly:
> fake a textbox using a label by putting a plain border and changing
> background colour. You can set the label value but it won't accept focus.

This could work in some cases, but I have read only fields that under
certain conditions are no longer read only but input.

But for the forms where this is not the case this might even work
better.

Anyway, problem solved :-)

Thanks,

Willy


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to