Search found 14 matches: hctlfocus

Return to advanced search

Re: XBROWSE Border on cells

... . for a selected cell something like: :bGotfocus := {|nRow, nCol|... :bLostfocus := {|nRow, nCol|... or is it possible to use : METHOD GotFocus( hCtlFocus ) INLINE ( ::oActive := Self, ::Super:GotFocus( hCtlFocus ),; If( GetParent( hCtlFocus ) != ::hWnd, ::Super:Refresh( .f. ),) ) METHOD LostFocus( ...
by ukoenig
Fri Apr 12, 2019 1:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE Border on cells
Replies: 27
Views: 4131

Re: Haga clic en el BITMAP no obedece WHEN GET

... CreateButton() CLASS TGet ... ::oBtn:lCancel = .f. // Inicia FALSO para ser habilitado na GOTFOCUS (Alexandre Pereira) ... METHOD LostFocus( hCtlFocus ) CLASS TGet ... // Desabilitando quando sair if ! Empty( ::oBtn ) ::oBtn:lCancel := .f. endif ... METHOD GotFocus( hCtlLost ) CLASS TGet ...
by alexpdasilva
Wed Mar 18, 2015 3:57 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Haga clic en el BITMAP no obedece WHEN GET
Replies: 14
Views: 2853

Re: problema con SetFont

... ::CambiarMes(-12) METHOD Hoy() INLINE ::IrFecha( Date() ) METHOD IrFecha( dNvaFecha ) // Metodos para tomar y dejar el foco. METHOD LostFocus( hCtlFocus ) INLINE ::Super:LostFocus( hCtlFocus ), ::VerAlSalir() METHOD GotFocus() INLINE ::setfocus(), ::VerAlEntrar() ENDCLASS METHOD New (nTop, ...
by MOISES
Mon Feb 23, 2015 1:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: problema con SetFont
Replies: 17
Views: 4733

Re: "Snap" for Clipper

...  2954  2963  2964  2970  2971 HBMPOLD                WINDOW.PRG     2954  2964  2973 HBRUSH                  WINDOW.PRG      948   951  2946  2971 HCTLFOCUS              WINDOW.PRG      443  3236  3237  3238  3239  3241  3246  3247  3266  3284 HCTLNEXT                WINDOW.PRG     3258  3262  3267 ...
by Antonio Linares
Sat Oct 26, 2013 9:44 am
 
Forum: Off Topic / Otros temas
Topic: "Snap" for Clipper
Replies: 7
Views: 6699

Re: tMultiget and bLostFocus problem

Hi,
moving Super:LostFocus( hCtlFocus ) all seems to runs well.

I checked that LostFocus method is unchanged beetween Fwh oct 2009 and Fwh Nov 2010
so I think this issue is related to other changes in mget or other "core" FWH classes.

Thanks for your quick support.
by Marco Turco
Wed Jan 12, 2011 10:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: tMultiget and bLostFocus problem
Replies: 4
Views: 793

Re: Daniel Garcia - TGET, ACTION, VALID problema?

... // Passei a controlar em GOTFOCUS/LOSTFOCUS //::oBtn:lCancel = .T. // so the GET VALID is not fired when the button is focused METHOD LostFocus( hCtlFocus ) CLASS TGet if ::oBtn != nil ::oBtn:lCancel = .F. // so the GET VALID is not fired when the button is focused endif METHOD GotFocus( hCtlLost ...
by MGA
Thu Jul 08, 2010 12:14 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Daniel Garcia - TGET, ACTION, VALID problema? (RESOLVIDO)
Replies: 2
Views: 994

... DATA lDentro AS LOGICAL INIT .F. // para saber si pinchamos por primera vez en el Get o ya estabamos Dentro 2) despues modificar METHOD LostFocus( hCtlFocus ) CLASS TGet ... ... if ! ::oGet:BadDate ::oGet:KillFocus() ::lDentro := .F. // hemos salido, ya no estamos dentro else ... ... endif ... ...
by antolin
Mon Oct 27, 2008 2:07 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: carga de datos en get
Replies: 3
Views: 771

... lEditable, aNames ) METHOD LoadRelated( cAlias, lEditable, aNames ) METHOD Look3D( lOnOff, nColumn, nLevel, lPhantom ) METHOD LostFocus( hCtlFocus ) METHOD MButtonDown( nRow, nCol, nKeyFlags ) METHOD MouseMove( nRowPix, nColPix, nKeyFlags ) METHOD MouseWheel( nKeys, nDelta, nXPos, nYPos ...
by Natter
Mon Sep 08, 2008 11:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: bChange
Replies: 9
Views: 5460

... nFlags ) METHOD KeyChar( nKey, nFlags ) METHOD LButtonDown( nRow, nCol, nKeyFlags ) METHOD LButtonUp( nRow, nCol, nKeyFlags ) METHOD LostFocus( hCtlFocus ) INLINE Super:LostFocus( hCtlFocus ),; If( ::nLen > 0 .and. ! EmptyAlias( ::cAlias ) .and. ; ! ::lIconView, ::DrawSelect(),) METHOD MouseMove( ...
by FWHISHOW
Wed Dec 12, 2007 4:28 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TWBROWSE - bkeydown não aceita VK_UP?
Replies: 9
Views: 4177

... // activa colores Gets con foco ENDIF RETURN Super:GotFocus( hCtlLost ) Nuevo método LOSTFOCUS: METHOD LostFocus( hCtlFocus ) CLASS TUCLASE LOCAL xRet := Super:LostFocus( hCtlFocus ) IF ::nClrGFore # NIL ::SetColor(::nClrFore,::nClrBack) // activa colores Gets sin ...
by manuramos
Sat Dec 16, 2006 10:01 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cambiar Color en los get's activos
Replies: 3
Views: 1069

Gale: Try this: In Control.prg Method KillFocus() add TSBUTTON like this line METHOD KillFocus( hCtlFocus ) CLASS TControl local oWnd if ! Empty( hCtlFocus ) .and. ::bValid != nil .and. WndParents( hCtlFocus, ::hWnd ) .and. ; ( oWnd := oWndFromhWnd( hCtlFocus ) ) != nil ...
by Ruben Fernandez
Tue Nov 14, 2006 3:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: cancel clause with tsbutton still fires valid
Replies: 2
Views: 1304

... ... RETURN NIL METHOD GotFocus( hCtlLost ) CLASS ... ... IF ::nClrGFore # NIL ::SetColor(::nClrGFore,::nClrGBack) ENDIF ... METHOD LostFocus( hCtlFocus ) CLASS ... ... IF ::nClrGFore # NIL ::SetColor(::nClrFore,::nClrBack) ENDIF ... Y nada más. La ventaja está en que conservas los colores ...
by manuramos
Thu Mar 02, 2006 9:12 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: como poner color al GET que esta en foco?
Replies: 7
Views: 1843

Fabian vas a tener que modificar la clase Control el método KillFocus agrega TSButton como en este ejemplo : METHOD KillFocus( hCtlFocus ) CLASS TControl local oWnd if ! Empty( hCtlFocus ) .and. ::bValid != nil .and. WndParents( hCtlFocus, ::hWnd ) .and. ; ( oWnd := oWndFromhWnd( hCtlFocus ...
by Joel Andujo
Mon Jan 16, 2006 4:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Valid , sbutton Cancel no me funciona
Replies: 2
Views: 929

Efectivamente, mis disculpas por el olvido: //---------------------------------------------------------------------------// METHOD LostFocus( hCtlFocus ) CLASS TGet Super:LostFocus( hCtlFocus ) if ! Empty( ::cPicture ) .and. ::oGet:type == "N" ::oGet:Assign() ::oGet:Picture := ::cPicture ::oGet:UpdateBuffer() ...
by Manuel Aranda
Thu Oct 20, 2005 9:02 pm
 
Forum: FiveWin para CA-Clipper
Topic: FRANCISCO CARRASCO
Replies: 9
Views: 4401

Return to advanced search

cron