Navigating through form object with the tab key

View: New views
8 Messages — Rating Filter:   Alert me  

Navigating through form object with the tab key

by M0E Lnx :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Is it possible to navigate a form's controls using the tab key?

For instance, If I have 3 textboxes on a form, and I'm typing on textbox1
If I hit the tab key, I want the cursor to jump to the next textbox.. and so on

is this possible and how?

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: Navigating through form object with the tab key

by Bugzilla from gambas@users.sourceforge.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On lundi 12 mai 2008, M0E Lnx wrote:
> Is it possible to navigate a form's controls using the tab key?
>
> For instance, If I have 3 textboxes on a form, and I'm typing on textbox1
> If I hit the tab key, I want the cursor to jump to the next textbox.. and
> so on
>
> is this possible and how?
>

Yes. Note that in Gambas The tab order and the Z-order are the same thing.

Regards,

--
Benoit Minisini

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: Navigating through form object with the tab key

by M0E Lnx :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Where is this defined? or does gambas assign values automatically?
I dont see any option to set this on the object's or form properties

On Mon, May 12, 2008 at 5:27 PM, Benoit Minisini
<gambas@...> wrote:

>
> On lundi 12 mai 2008, M0E Lnx wrote:
>  > Is it possible to navigate a form's controls using the tab key?
>  >
>  > For instance, If I have 3 textboxes on a form, and I'm typing on textbox1
>  > If I hit the tab key, I want the cursor to jump to the next textbox.. and
>  > so on
>  >
>  > is this possible and how?
>  >
>
>  Yes. Note that in Gambas The tab order and the Z-order are the same thing.
>
>  Regards,
>
>  --
>  Benoit Minisini
>
>  -------------------------------------------------------------------------
>  This SF.net email is sponsored by: Microsoft
>  Defy all challenges. Microsoft(R) Visual Studio 2008.
>  http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>  _______________________________________________
>  Gambas-user mailing list
>  Gambas-user@...
>  https://lists.sourceforge.net/lists/listinfo/gambas-user
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: Navigating through form object with the tab key

by Bugzilla from gambas@users.sourceforge.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On mardi 13 mai 2008, M0E Lnx wrote:
> Where is this defined? or does gambas assign values automatically?
> I dont see any option to set this on the object's or form properties
>

The Z-order is defined in the Hierarchy tab, next to the property sheet tab.

--
Benoit Minisini

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: Navigating through form object with the tab key

by HARADA Kazutaka-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Benoit Minisini wrote:
> On mardi 13 mai 2008, M0E Lnx wrote:
>  
>> Where is this defined? or does gambas assign values automatically?
>> I dont see any option to set this on the object's or form properties
>>    
> The Z-order is defined in the Hierarchy tab, next to the property sheet tab.
>  
I found a problem with Z-order.
This works fine for gb.qt, but not for gb.gtk on gamba2-2.6.0 with gtk
2.12.9.

I created a form with 3 buttons. Then changed the Z-order and tested.

In the hierarchy tree,
   Button3
   Button2
   Button1

The cursor moves Button3 - Button1 - Button2 with tab key

Bit dufferent...

--
--------------------------------------
Kazutaka HARADA
  e-mail:kazutaka802@...
--------------------------------------


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: Navigating through form object with the tab key

by M0E Lnx :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you... good to know... I've been beating my head up trying to
find this, and have not yet been able to do it...

I will look into gambas2-2.6


On Wed, May 14, 2008 at 8:43 AM, HARADA Kazutaka
<kazutaka802@...> wrote:

> Benoit Minisini wrote:
> > On mardi 13 mai 2008, M0E Lnx wrote:
> >
> >> Where is this defined? or does gambas assign values automatically?
> >> I dont see any option to set this on the object's or form properties
> >>
> > The Z-order is defined in the Hierarchy tab, next to the property sheet tab.
> >
> I found a problem with Z-order.
> This works fine for gb.qt, but not for gb.gtk on gamba2-2.6.0 with gtk
> 2.12.9.
>
> I created a form with 3 buttons. Then changed the Z-order and tested.
>
> In the hierarchy tree,
>   Button3
>   Button2
>   Button1
>
> The cursor moves Button3 - Button1 - Button2 with tab key
>
> Bit dufferent...
>
> --
> --------------------------------------
> Kazutaka HARADA
>  e-mail:kazutaka802@...
> --------------------------------------
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@...
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: Navigating through form object with the tab key

by Bugzilla from gambas@users.sourceforge.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On mercredi 14 mai 2008, HARADA Kazutaka wrote:

> Benoit Minisini wrote:
> > On mardi 13 mai 2008, M0E Lnx wrote:
> >> Where is this defined? or does gambas assign values automatically?
> >> I dont see any option to set this on the object's or form properties
> >
> > The Z-order is defined in the Hierarchy tab, next to the property sheet
> > tab.
>
> I found a problem with Z-order.
> This works fine for gb.qt, but not for gb.gtk on gamba2-2.6.0 with gtk
> 2.12.9.
>
> I created a form with 3 buttons. Then changed the Z-order and tested.
>
> In the hierarchy tree,
>    Button3
>    Button2
>    Button1
>
> The cursor moves Button3 - Button1 - Button2 with tab key
>
> Bit dufferent...

I fixed the bug in revison #1381.

Regards,

--
Benoit Minisini

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: Navigating through form object with the tab key

by HARADA Kazutaka-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Benoit Minisini wrote:
>> I found a problem with Z-order.
>> This works fine for gb.qt, but not for gb.gtk on gamba2-2.6.0 with gtk
>> 2.12.9.
>>    
> I fixed the bug in revison #1381.
>  
Tanks!

--
--------------------------------------
Kazutaka HARADA
  e-mail:kazutaka802@...
--------------------------------------


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user