FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Antonio - GetDlgCode en TGET
Posts: 1789
Joined: Tue Oct 11, 2005 05:01 PM
Antonio - GetDlgCode en TGET
Posted: Wed Nov 02, 2011 08:50 PM
Antonio, con los cambios impementados para corregir el frame focus en tcombobox
se modifico la clase tget concretamente el metodo GetDlgCode, pero este falla cuando el get y el combobox
estan en un folder, esta modificacion me a servido:
Code (fw): Select all Collapse
METHOD GetDlgCode( nLastKey ) CLASS TGet

   if Len( ::oWnd:aControls ) == 1
      RETURN DLGC_WANTALLKEYS
   endif

   ::oWnd:nLastKey = nLastKey

   IF ::oWnd:IsKindOf( 'TXBROWSE' )
      RETURN DLGC_WANTALLKEYS
   ELSE
      IF ::oWnd:oWnd <> NIL .and. ::oWnd:oWnd:ClassName()=="TFOLDER"
         RETURN DLGC_WANTALLKEYS
      ENDIF
   ENDIF

RETURN NIL
Salu2

Carlos Vargas

Desde Managua, Nicaragua (CA)
Posts: 1789
Joined: Tue Oct 11, 2005 05:01 PM
Re: Antonio - GetDlgCode en TGET
Posted: Wed Nov 02, 2011 09:10 PM

me parece que las modificaciones que se realizaron ahora no permiten usar
CTRL+TAB o CTRL+TAB+SHIFT para moverte en las page de un folder.

Salu2

Carlos Vargas

Desde Managua, Nicaragua (CA)

Continue the discussion