Search found 917 matches: iif

Return to advanced search

Ajustar Listbox

... .5 LISTBOX oLbx FIELDS "Folio: " + Transform(oRecordSet:Fields("Id"):value,"9999") + CRLF + "Codigo:" + IIF(oRecordSet:Fields("Codigo"):value=NIL,"",Transform(oRecordSet:Fields("Codigo"):value,"99999")) + CRLF + ...
by servicomver
Tue Nov 05, 2024 7:41 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ajustar Listbox
Replies: 2
Views: 113

Consulta color en xbrowse

... := AL_CENTER // alinea al centro las cabeceras de columnas // defino colores de los registros en el browse oBrw:bClrStd := {|| { iif(empty(_ActxCoe->FecAct),CLR_GREEN,CLR_RED),CLR_WHITE } } oBrw:bclrSel := {|| { iif(empty(_ActxCoe->FecAct),CLR_GREEN,CLR_RED),CLR_WHITE } ...
by José Camilo
Wed Oct 30, 2024 11:31 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Consulta color en xbrowse
Replies: 1
Views: 97

Re: Esperar a que termine la plicaion llamada con ShellExecute

Excelente ernesto!!

Aún puedes mejorar ese código si usas iif y or preguntando por la existencia de los archivos y cambiando el suiche todo en una sola linea
by JoseAlvarez
Mon Oct 14, 2024 11:04 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Esperar a que termine la plicaion llamada con ShellExecute
Replies: 7
Views: 284

Re: very slow also with array

... make this @ 16, 5 SCROLLBAR oScrollDbf HORIZONTAL SIZE 425,10 PIXEL OF oDlg ; RANGE 1,ntotal_records ; ON DOWN ( nSec := SECONDS() , oDbf:Skip(), IIf( oDbf:EoF(), oDbf:GoBottom(),),; Refresh_Say(oSay,oDbf) ,; Refresh_data1(.....),; Refresh_data2(....), Msginfo(SECONDS() - nSec )) ; ON UP (nSec ...
by Silvio.Falconi
Sun Oct 13, 2024 5:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: very slow also with array
Replies: 2
Views: 180

Re: problem with big dbf on xbrowse

... look good commercially. Could you, just for the sake of testing uncomment ALL items that have to do with the looks ? like oLbx:nClrPane := { || IIF( ( oLbx:cAlias )->( OrdKeyNo() ) %2 == 0, ; CLR_LGREEN, CLR_LGRAY ) } and all others. Just to see if you get more speed and then turn on step ...
by Marc Venken
Sun Jun 16, 2024 7:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: problem with big dbf on xbrowse
Replies: 39
Views: 2469

Re: To nages : modify of a xbrowse

... := n Nages, on first column I made :aCols[1]:nEditType := EDIT_LISTBOX :aCols[1]:aEditListTxt := acOperators :aCols[1]:bEditBlock := { |r,c|IIF(oBrwFilter:nArrayAt = 1,MsgInfo("not"),) } I not want the end use can select the combobox if is on first line ( SEE THE PICTURE) https://i.postimg.cc/4NbFm215/filter.jpg
by Silvio.Falconi
Wed May 08, 2024 7:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To nages : modify of a xbrowse
Replies: 8
Views: 954

To nages : modify of a xbrowse

...  END for the first column I wish it not show the listbox when is the first line of array this not run :aCols[1]:bEditBlock := { |r,c,oCol|IIF(!oBrwFilter:nArrayAt = 1, MsgInfo("Non puoi")) } for the 4th column I have problem because I cannot insert more characters
by Silvio.Falconi
Wed May 08, 2024 10:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: To nages : modify of a xbrowse
Replies: 8
Views: 954

Re: New txbrowse

... ; LOCAL nScope, oClass, oInstance ; IF s_oClass == NIL .AND. __clsLockDef( @s_oClass ) ; BEGIN SEQUENCE ; nScope := 1 ; ( ( nScope ) ) ; oClass := iif( .F.,, HBClass():new( "TFactur_1", iif( .T., { @TIMPRIME() }, { @HBObject() } ), @TFactur_1() ) ) ; _HB_MEMBER { AS LOGICAL lRegistered ...
by FiveWiDi
Sat Apr 13, 2024 3:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New txbrowse
Replies: 6
Views: 1026

Error Fwh 24.02 con XBROWSE

... .T. :lColDividerComplete := .T. :lIncrFilter := .F. :nStretchCol := STRETCHCOL_WIDEST :bClrSel := { || { CLR_BLACK, CLR_HGRAY } } :bClrStd := {|| IIf( oBrw:KeyNo() % 2 == 0, { CLR_BLACK, RGB( 198, 255, 198 ) }, { CLR_BLACK, RGB( 232, 255, 232 ) } ) } END AEval( oBrw:aCols, {|o| o:nHeadStrAlign ...
by CARLOS ATUNCAR
Mon Apr 08, 2024 6:31 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error Fwh 24.02 con XBROWSE
Replies: 0
Views: 489

Re: xbrowse SelectRow method

... nil It seem run ok if I select two or three records and deselect one, the menu in the buttonbar remains unchanged because I added an if control IiF(LEN(oBrw:aSelected)==0,Btnbar(1,.....) thanks
by Silvio.Falconi
Mon Apr 01, 2024 10:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse SelectRow method
Replies: 3
Views: 993

Problemas con comportamiento de XBrowse.

... oBrw:lContrastClr := .f. oBrw:lHScroll := .f. oBrw:nHeadStrAligns := AL_CENTER // alinea al centro las cabeceras de columnas oBrw:bClrStd := {|| { iif(!empty(Neteo->FechaPago),CLR_GREEN,CLR_RED),CLR_WHITE } } oBrw:bclrSel := {|| { iif(!empty(Neteo->FechaPago),CLR_GREEN,CLR_RED),CLR_WHITE ...
by José Camilo
Fri Mar 15, 2024 2:11 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas con comportamiento de XBrowse.
Replies: 1
Views: 598

Re: LETODB - ABRIR o CONSULTAR BASES REMOTAS SHARED

... abrirlos en modo compartido. cambiando esta linea, las abre en modo compartido (no se que otras consecuencias puede tener...)" dbUseArea( .F.,Iif(nDriver==1,"DBFNTX",Nil),oApp:DataPath+cName,cRealAlias,.T.,.F.,Iif(!Empty(cdp),cdp,Nil) ) Alguien ha realizado este cambio ? Voy a intentar ...
by mterraz
Tue Jan 02, 2024 1:47 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: LETODB - ABRIR o CONSULTAR BASES REMOTAS SHARED
Replies: 3
Views: 543

Re: copy a row of xbrowse

MENUITEM "Copy" WHEN acopy=NIL .and. oBrw:IsSelectedRow(); // only when is seletected ACTION ( IIF(Len(oBrw:aselected) >1,aClone:=Giverows(oBrw),; aCopy := aclone(oBrw:aRow)),; oBrw:SetFocus() ) Function Giverows(oBrw) local n,atmp:={},nAt For n= 1 to Len( oBrw:aselected) ...
by Silvio.Falconi
Wed Dec 06, 2023 12:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: copy a row of xbrowse
Replies: 36
Views: 7666

Re: copy a row of xbrowse

Perhaps... MENUITEM "Copy" WHEN acopy=NIL .and. oBrw:IsSelectedRow(); // only when is seletected ACTION IIF(Len(oBrw:aseleted) >1,Aclone:= Giverows (oBrw),aCopy := aclone(oBrw:aRow)),; oBrw:SetFocus() ) Function Giverows (oBrw) local n,uBook,nAt local aTmp:= {} For ...
by Silvio.Falconi
Wed Dec 06, 2023 9:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: copy a row of xbrowse
Replies: 36
Views: 7666

check on get

...  Prompt "&EXIT"  SIZE  45,  10 PIXEL  OF oDlg ACTION ( oDlg:end( IDCANCEL ) )       *  bCheck:= { || lSave:= IIF(Msgyesno("I must save ?"),.t.,.f.), oDLG:AEvalWhen(), .t. }AEval( aGet, { |o| o:bChange :=  bCheck ...
by Silvio.Falconi
Fri Nov 24, 2023 2:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: check on get
Replies: 27
Views: 5416
Next

Return to advanced search