Search found 252 matches: obrowse

Return to advanced search

Re: I'm not asking for the moon...

... you try using STRTRAN(). It is the solution here. Yes, do you test with STRTRAN ? run all ok ? sure ? IF nMode==2 //modify ntest1 := STRTRAN(str(oBrowse:aArraydata[nRecord][2]), ".", ",") ntest2 := STRTRAN(str(oBrowse:aArraydata[nRecord][3]), ".", ",") ...
by Silvio.Falconi
Fri Jan 19, 2024 10:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: I'm not asking for the moon... Resolved!!
Replies: 24
Views: 2116

Re: copy a row of xbrowse

... oBrw:aArrayData, aCopy ),; oBrw:Unlock( .t. ), ; acopy:=NIL ,; oBrw:RefreshCurrent(), oBrw:SetFocus() ) ENDMENU but when I modify it the nRecord:= oBrowse:nArrayAt is the same
by Silvio.Falconi
Tue Dec 05, 2023 1:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: copy a row of xbrowse
Replies: 36
Views: 5753

Re: To Nages: Record deleted but make error also

... field as it is done on yunus.prg If I add and delete, a number is not inserted So we arrived at this conclusion which seems to work AEval( oBrowse:aDeleted, { |a| IF(a[ 32 ] ==0, a[32] := len(oBrowse:aDeleted),nil) } ) also because the programmer checked for days the exact correspondence ...
by Silvio.Falconi
Wed Nov 22, 2023 6:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Nages: Record deleted but make error also RESOLVED
Replies: 3
Views: 275

Re: Problem with oBrowse:aDeleted

... ) and work aDataform on Xbrowse When I go to save I made       // save oDbf Report.dbf       // delete rows                 if ! Empty( oBrowse:aDeleted )            AEval( oBrowse:aDeleted, { |a| a[ 31 ] := -a[ 31 ] } )            oDbfMod:SaveArrayToDBF( ...
by Silvio.Falconi
Tue Nov 21, 2023 9:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with oBrowse:aDeleted
Replies: 2
Views: 243

Re: Problem with oBrowse:aDeleted

Use
Code: Select all  Expand view
oBrw:Delete()

to delete rows. Please do not use your own functions to delete.
by nageswaragunupudi
Mon Nov 20, 2023 7:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with oBrowse:aDeleted
Replies: 2
Views: 243

Problem with oBrowse:aDeleted

To delete a record on Array I use this function del_row( oBrowse ) if ! Empty( oBrowse:aArrayData ) ADel( oBrowse:aArrayData, oBrowse:nArrayAt, .t. ) oBrowse:Refresh() endif xbrowser oBrowse:aDeleted <------ return nil it delete the row but then when ...
by Silvio.Falconi
Mon Nov 20, 2023 12:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with oBrowse:aDeleted
Replies: 2
Views: 243

Re: colorize a xbrowse with a brush

... cell the command imposes the new brush samples when there are images ( with :bBmpData ) or when on a column there is a color         WITH OBJECT  oBrowse:aCols[6]           :bClrStd := {|| { CLR_WHITE,IIF(oBrowse:aArrayData[ oBrowse:nArrayAt,6],(oBrowse:aArrayData[ ...
by Silvio.Falconi
Wed Nov 08, 2023 9:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: colorize a xbrowse with a brush
Replies: 3
Views: 328

Valor celda XBROWSE

... la linea oBrw:nRowsel() y la columna que quiero pero el valor no se como extraerlo Por el foro he leído una contestación diciendo esto: Eval( oBrowse:bLine ) Pero, me da error. Sabrían decirme como se hace? Un saludo Juanjo
by juanjogascem
Thu Jun 15, 2023 3:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Valor celda XBROWSE
Replies: 4
Views: 256

xbrowse border.... smudge

look this https://i.postimg.cc/m2BqWMbr/Y.png Do you happen to notice something strange? I made : @ 120, 02 XBROWSE oBrowse OF oDlg....NOBORDER WITH OBJECT oBrowse :lDrawBorder := .t. :nClrBorder := Rgb(195,195,185) ... now I see you here is the error https://i.postimg.cc/s2jDB19f/hgh.png ...
by Silvio.Falconi
Sat Jun 10, 2023 4:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse border.... smudge
Replies: 0
Views: 118

Re: Fivewin and ADO

... lAppend ) are provided if the programmer wants to provide edit of the Row in a dialog form. These methods use TDataRow/FW_Record class. can i use oBrowse:EditSource() with Record-Set ? ( Header as "Structure" ? ) Yes. This method works with any datasource, eg. dbf, tdatabase, ado recordset, ...
by nageswaragunupudi
Sat Jun 10, 2023 1:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fivewin and ADO
Replies: 36
Views: 3787

Re: Fivewin and ADO

... active ROW / COL where Cursor are ? when using FASTEDIT i got a "big" Input Windows ... how to get "Inline Edit" ? can i use oBrowse:EditSource() with Record-Set ? ( Header as "Structure" ? ) can i "seek" in XBROWSE when use a Record-Set ?
by Jimmy
Sat Jun 10, 2023 12:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fivewin and ADO
Replies: 36
Views: 3787

Re: Print oBrowse aselected

oDbf     := oBrw:oDbfnAt      := 1nSaveRec := oDbf:RecNo()////do while nAt <= Len( oBrw:aSelected )   oDbf:GoTo( oBrw:aSelected[ nAt ] )   // PRINT oDbf:Fields the way you want   nAt++enddooDbf:GoTo( nSave...
by nageswaragunupudi
Wed Apr 26, 2023 5:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Print oBrowse aselected
Replies: 5
Views: 310

Re: Print oBrowse aselected

What is the source of your browse? Array or DBF or whatelse? My solution is an example that works with DBF. If not DBF, you should understand the logic and apply to your case. SEE your mail I use Tdatabase oDbf:=TComuni():New() oDbf:setorder(1) oDbf:Gotop() local aCols := { ; { "COMUNE", ...
by Silvio.Falconi
Wed Apr 26, 2023 8:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Print oBrowse aselected
Replies: 5
Views: 310

Re: Print oBrowse aselected

What is the source of your browse? Array or DBF or whatelse?

My solution is an example that works with DBF.
If not DBF, you should understand the logic and apply to your case.
by nageswaragunupudi
Wed Apr 26, 2023 8:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Print oBrowse aselected
Replies: 5
Views: 310

Re: Print oBrowse aselected

... dialog "options of Print" and then I can print the browse here the function I use to print the browse Function Print_Browse_Comuni(oBrowse,lPrv,lLandscape)local oPrn, oFn1, oFn2, oFn3, nRec, cSTit, nPre:=0local aDes, aHas, nHor, nVer, nRow:=5.5, cFormloca cFont:="Arial"local ...
by Silvio.Falconi
Wed Apr 26, 2023 7:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Print oBrowse aselected
Replies: 5
Views: 310
Next

Return to advanced search