FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Antonio: CLASS TRBtn
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Antonio: CLASS TRBtn
Posted: Thu Dec 25, 2014 01:49 PM
Antonio, in this class the buttons are not declared with style WS_TABSTOP!?

I have changed the calls ::nStyle := ...... to
Code (fw): Select all Collapse
   ::nStyle    = nOR( WS_CHILD, WS_VISIBLE, if(oWnd:IsKindOf( "TDIALOG" ), WS_TABSTOP, 0 ) )

Is this right?
Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Antonio: CLASS TRBtn
Posted: Thu Dec 25, 2014 06:58 PM

Günther,

Yes, it is right and it makes pefect sense

Included for next FWH build, many thanks! :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Antonio: CLASS TRBtn
Posted: Thu Dec 25, 2014 07:10 PM

Günther,

I think a better implementation would be:

::nStyle = nOR( WS_CHILD, WS_VISIBLE, If( ! oWnd:IsKindOf( "TRBGROUP" ), WS_TABSTOP, 0 ) )

So the control may be placed any where and only on a RibbonBar would not need the focus.

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion