Search found 65 matches: lfocused

Return to advanced search

Re: Mark field as required

... oDlg ; COLOR nClrTxt, CLR_WHITE CUEBANNER "REQUIRED" BOTTOMBORDER ; INFIELD INFONT oFontI INCLRTXT CLR_GRAY ; INCLRBORDER { | o | if( o:lFocused, o:nInClrLineB, nClrBox ) } ; INSEPH 1 INSEPV 1 ; //INWHPEN 2 ; INCLRLINEDIS CLR_BLUE DYNAMIC ; //GROUP INERROR "EMPTY VALUE NOT VALID" ...
by Marc Venken
Thu Jul 06, 2023 11:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mark field as required
Replies: 23
Views: 3154

Re: Mark field as required

... oDlg ; COLOR nClrTxt, CLR_WHITE CUEBANNER "REQUIRED" BOTTOMBORDER ; INFIELD INFONT oFontI INCLRTXT CLR_GRAY ; INCLRBORDER { | o | if( o:lFocused, o:nInClrLineB, nClrBox ) } ; INSEPH 1 INSEPV 1 ; //INWHPEN 2 ; INCLRLINEDIS CLR_BLUE DYNAMIC ; //GROUP INERROR "EMPTY VALUE NOT VALID" ...
by Antonio Linares
Thu Jul 06, 2023 11:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mark field as required
Replies: 23
Views: 3154

Re: Mark field as required

... OF oDlg ; COLOR nClrTxt, CLR_WHITE CUEBANNER aData[ 1, 1 ] BOTTOMBORDER ; INFIELD INFONT oFontI INCLRTXT CLR_GRAY ; INCLRBORDER { | o | if( o:lFocused, o:nInClrLineB, nClrBox ) } ; INSEPH 1 INSEPV 1 ; //INWHPEN 2 ; INCLRLINEDIS CLR_BLUE DYNAMIC ; //GROUP INERROR "EMPTY VALUE NOT VALID" ...
by Marc Venken
Thu Jul 06, 2023 7:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mark field as required
Replies: 23
Views: 3154

Re: Readonly and/or disable GETs background color

//TGet():bColorBlock := { |oGet| IF( oGet:lFocused, { CLR_WHITE, CLR_HBLUE }, IF( .NOT. oGet:lActive, {CLR_BLACK, CLR_HGRAY}, {CLR_BLACK, CLR_WHITE} )) }
//fix for readonly gets
// TGet():lDisColors := .f.
// TGet():nClrGrayText := 25
by Horizon
Fri Aug 05, 2022 1:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Readonly and/or disable GETs background color
Replies: 15
Views: 1420

Re: TGet():nClrFocus no me cambia el color

TGet():bColorBlock := { |oGet| IF( oGet:lFocused, { CLR_WHITE, CLR_HBLUE }, IF( .NOT. oGet:lActive, {CLR_BLACK, CLR_HGRAY}, {CLR_BLACK, CLR_WHITE} )) }
by Marc Venken
Wed Mar 24, 2021 10:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGet():nClrFocus no me cambia el color
Replies: 3
Views: 408

Re: XBROWSE Questions

... by moving of the first browse. I needed the same solution for a language-translation browser 1 :lColChangeNotify := .t. :bChange := { || If( oBrw1:lFocused, SyncBrowses( oBrw1, oBrw2 ), nil ) } :bGotFocus := { || SyncBrowses( oBrw1, oBrw2 ) } browser 2 :lColChangeNotify := .t. :bChange := { || ...
by ukoenig
Thu Nov 07, 2019 12:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE Questions
Replies: 3
Views: 573

Re: SET BLINK ON EN UNA CELDA XBROWSE

... encontre esto: DEFINE TIMER oCLITimer OF oWnd INTERVAL 300 ACTION Blinking( oBrw ) ACTIVATE TIMER oCLITimer Function Blinking( oBrw ) if ! oBrw:lFocused oBrw:nClrNFBack := iif( oBrw:nClrNFBack==oBrw:nClrBackFocus,oBrw:nClrBackFocus,CLR_BLACK) oBrw:nClrNFFore := iif( oBrw:nClrNFFore==oBrw:nClrBackFocus,CLR_BLACK,oBrw:nClrBackFocus) ...
by jbrita
Thu Aug 10, 2017 1:38 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: SET BLINK ON EN UNA CELDA XBROWSE
Replies: 4
Views: 1156

Re: Possible to run 2 browser synchronously ? ( Test-download )

... } :nRecSelWidth := 50 END oBrw1:lColChangeNotify := .t. oBrw1:bGotFocus := { || SyncBrowses( oBrw1, oBrw2 ) } oBrw1:bChange := { || If( oBrw1:lFocused, SyncBrowses( oBrw1, oBrw2 ), nil ) } oBrw2:lColChangeNotify := .t. oBrw2:bGotFocus := { || SyncBrowses( oBrw2, oBrw1 ) } oBrw2:bChange := ...
by ukoenig
Sat Jul 29, 2017 7:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Possible to run 2 or 3 browser synchronously ?
Replies: 10
Views: 3523

Re: New FTDN May/Mayo 2017 (FWH 17.05)

... color settings. This can also be set by command: @ r,c GET <clauses> COLOR bColor <otherClauses> Example: bColor := { |oGet| If( oGet:lFocused, { CLR_HRED, CLR_YELLOW }, ; If( !oGet:lActive, { CLR_BLACK, CLR_HGRAY }, ; If( Empty( oGet:Value ), { CLR_BLACK, CLR_HGREEN }, ; { CLR_BLACK, ...
by Antonio Linares
Tue May 30, 2017 9:24 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN May/Mayo 2017 (FWH 17.05)
Replies: 1
Views: 2679

Re: Get Activo

Prueba con oGet:lFocused
by Antonio Linares
Mon Nov 07, 2016 5:18 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Get Activo
Replies: 3
Views: 668

Re: Valid, oJump and close

In fact is better than that. You can control what to disable and what to enable using oBtn:lFocused as flag.

EMG
by Enrico Maria Giordano
Sat Oct 01, 2016 7:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Valid, oJump and close
Replies: 8
Views: 1479

Re: To antonio : tget LightBorder

One issue is you need to use detached local inside your code block.
Right now when the code block gets evaluated it has wrong value for variable v in { || LightBorder( aGet[v], aGet[v]:lFocused , .T. ) }
by Gale FORd
Tue Apr 12, 2016 9:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To antonio : tget LightBorder
Replies: 2
Views: 803

To antonio : tget LightBorder

... I wantes insert on an application with many gets but I have problems sample : for v= 1 to 11 aGet[v]:bPainted = { || LightBorder( aGet[v], aGet[v]:lFocused , .T. ) } next v give me this error too many handles Application===========   Path and name: C:\WORK\Prg\family\Family.Exe (32 ...
by Silvio.Falconi
Tue Apr 12, 2016 8:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To antonio : tget LightBorder
Replies: 2
Views: 803

Re: uan con GET ... VALID

Prueba a hacer esto: REDEFINE GET oObra VAR cObra ID 100 OF oDDAbmLin VALID If( oObra:lFocused, Obra(), .T. ) si no lo soluciona, prueba asi: REDEFINE GET oObra VAR cObra ID 100 OF oDDAbmLin VALID If( oDDAbmLin:lFocused, Obra(), .T. ) Esto sucede porque el diálogo ...
by Antonio Linares
Fri Apr 08, 2016 3:06 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: uan con GET ... VALID
Replies: 9
Views: 2282

Re: TAB AUTOMATICO EN DTPICKER

Adhemar,

Prueba asi:

oDTPicker:bChange = { || If( oDTPicker:lClosed .and. oDTPicker:lFocused, oDTPicker:PostMsg( WM_KEYDOWN, VK_RIGHT ),) }
by Antonio Linares
Wed Mar 02, 2016 8:39 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TAB AUTOMATICO EN DTPICKER
Replies: 14
Views: 2430
Next

Return to advanced search