Search found 14 matches: lvalidating

Return to advanced search

Re: problema con SetFont

... nLastKey ) CLASS TMiCalendario // This method is very similar to TControl:GetDlgCode() but it is // necessary to have WHEN working if .not. ::oWnd:lValidating if nLastKey == VK_UP .or. nLastKey == VK_DOWN ; .or. nLastKey == VK_RETURN .or. nLastKey == VK_TAB ::oWnd:nLastKey = nLastKey else ::oWnd:nLastKey ...
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

...     2874  2885 LUSER                  WINDOW.PRG     2981  2985  2987 LVALID()               (function  in ?)    WINDOW.PRG      572   891 LVALIDATING            WINDOW.PRG      438   497  1151  1220 LVBX                    WINDOW.PRG      438 LVISIBLE                WINDOW.PRG      438 ...
by Antonio Linares
Sat Oct 26, 2013 9:44 am
 
Forum: Off Topic / Otros temas
Topic: "Snap" for Clipper
Replies: 7
Views: 6699

Re: CANCEL en tsbutton 7.0, no funciona

... METHOD GetDlgCode( nLastKey ) CLASS TSButton If nLastKey > 0 .and. nLastKey == ::nWakeup ::nWakeup := 0 EndIf If ( ! ::oWnd:lValidating .and. ::lCancel .and. ::cAccel != Nil .and. GetAsyncKey( VK_MENU ) .and. ; GetAsyncKey( Asc( Upper( ::cAccel ) ) ) .and. ::nWakeup == 0 ...
by noe aburto
Mon Sep 23, 2013 1:42 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: CANCEL en tsbutton 7.0, no funciona
Replies: 3
Views: 917

Re: FWH/xHarbour Menus

... = bLClicked ::bRClicked = bRClicked ::bWhen = bWhen ::bValid = bValid ::bInit = bInit ::bPainted = bPainted ::bMoved = bMoved ::nResult = nil ::lValidating = .f. ::lVisible = .t. ::lResize16 = lResize16 ::lHelpIcon := .F. // added 06/sep/2006 V. // ? 'DEBUG LINE 267', VALTYPE(::binit), lModal ...
by E. Bartzokas
Mon May 25, 2009 3:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH/xHarbour Menus
Replies: 20
Views: 7760

... ), CLR_GRAY ) ::lVisible = .t. ::l3D = l3D ::nMode = AScan( { "TOP", "LEFT", "RIGHT", "BOTTOM", "FLOAT" }, cMode ) ::oCursor = oCursor ::lValidating = .f. ::l2007 = l2007 //FranciscoA: Agosto 31/2008 ::nRGB1 = nRGB1 ::nRGB2 = nRGB2 //----------------------------------------------------------------------------// ...
by FranciscoA
Wed Oct 15, 2008 12:09 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: No encuentro las mejoras hechas a xbrowse por franciscoA ??
Replies: 17
Views: 4452

... accelerators. If you press a button accelerator, the focus is given to the button so the VALID of the current focused control is fired. Changing lValidating we avoid to execute the current VALID. It is somehow similar to the CANCEL clause. But if we all agree that the current VALID should be ...
by Antonio Linares
Thu Oct 09, 2008 11:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGET losing the focus
Replies: 14
Views: 3220

... Eval( ::bWhen ) ::lProcessing = .f. return nil endif if GetFocus() != ::hWnd //::oWnd:lValidating = .T. SetFocus( ::hWnd ) //::oWnd:lValidating = .F. endif So I excluded the ::Wnd:lValidating. ...
by driessen
Tue Oct 07, 2008 4:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGET losing the focus
Replies: 14
Views: 3220

Michel, If ::oWnd:lValidating = .T. is set and not restored later on, then next clicks on the button will not fire the VALID of the control where the focus is. But in the portion of your code, that you shows, there are no push buttons. ...
by Antonio Linares
Thu Oct 02, 2008 4:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGET losing the focus
Replies: 14
Views: 3220

Problema en la clase button

... get ya no ejecuta el valid. Comprobando el código he visto que el método "FWLostFocus" de la clase control llama a lValid en el caso de que ::oWnd:lValidating sea nil o falso METHOD FWLostFocus( hCtlFocus ) CLASS TControl local oWnd, oCtl if ::oWnd:lValidating == nil .or. ...
by fgondi
Fri Aug 29, 2008 11:04 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problema en la clase button
Replies: 1
Views: 752

Muy Buena, Sólo una duda

... METHOD GetDlgCode( nLastKey ) CLASS TSButton If nLastkey > 0 .and. nLastkey == ::nWakeup ::nWakeup := 0 EndIf If (! ::oWnd:lValidating .and. ::lCancel .and. ::cAccel != Nil .and. ; GetAsyncKey( VK_MENU ) .and. ; GetAsyncKey( Asc( Upper( ::cAccel ) ) ) .and. ::nWakeup == ...
by alex2002
Fri Apr 18, 2008 7:49 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TSButton V.6.1 como se los prometí
Replies: 35
Views: 8061

... nLastKey ) CLASS TSBrowse // This method is very similar to TControl:GetDlgCode() but it is // necessary to have WHEN working If ! ::oWnd:lValidating If nLastKey == VK_UP .or. nLastKey == VK_DOWN ; .or. nLastKey == VK_RETURN .or. nLastKey == VK_TAB ::oWnd:nLastKey := nLastKey Else ::oWnd:nLastKey ...
by MGA
Tue Apr 08, 2008 12:52 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: SR.MANUEL MERCADO-BKEYDOWN TSBROWSE
Replies: 14
Views: 5058

... is assigned. .. ok But if a valid block opens a new dialog any assignment is ignored and original value is restored. .. not ok I think while oGet:lvalidating is true, if the focus goes to any other control or application, the edit should not be cancelled.
by nageswaragunupudi
Wed Dec 26, 2007 9:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse online editing
Replies: 66
Views: 11811

Creo que encontré la solución. Añadiendo: METHOD GetDlgCode(nLastKey) CLASS TFondo IF .NOT. ::oWnd:lValidating IF nLastKey == VK_RETURN // .OR. nLastKey == VK_TAB ::oWnd:nLastKey = nLastKey ELSE ::oWnd:nLastKey = 0 ENDIF ENDIF RETURN IF( IsWindowEnabled( ::hWnd ), DLGC_WANTALLKEYS, ...
by manuramos
Sat Jul 29, 2006 11:20 am
 
Forum: FiveWin para CA-Clipper
Topic: Problema VK_RETURN
Replies: 3
Views: 1265

... != VK_RETURN .and. ; ::oWnd:nLastKey != VK_DOWN .and. ::oWnd:nLastKey != VK_UP ) ) // JAAM Agregue ";TSBUTTON" para que le haga caso a ::oWnd:lValidating = .t. // la clusula CANCEL en los botones ::oWnd:nLastKey := 0 ::ForWhen() ::oWnd:lValidating = .f. ::LostFocus() return nil else if Upper( ...
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

Return to advanced search