Search found 52 matches: bonchange

Return to advanced search

Re: Una sobre xBrowse

Armando:
Puedes usar oBrw:aCols[1]:bOnPostEdit := .... o bOnChange
by cmsoft
Fri Jul 21, 2023 8:17 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Una sobre xBrowse (solucionado)
Replies: 6
Views: 388

Re: Maria DB and incrental seek

[quote]::oBrt:bOnChanges := { || ::oRsTestate:ReSync(),; ::oBrt:RefreshCurrent(),; ::oBrt:MakeTotals(),; ::oBrt:RefreshFooters() } [/quote Before I go into the main topic, I like to advise you that this code is not required. XBrowse ...
by nageswaragunupudi
Fri Jun 09, 2023 8:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Maria DB and incrental seek
Replies: 1
Views: 142

Ayuda con un error en xbrowse

... ):nEditType := 1 oBrw:oCol( "DesdeNew" ):bEditValue := { || 1*1 } oBrw:aCols[ 7 ]:lAutoSave := .T. oBrw:oCol( "DesdeNew" ):bOnChange := { || _DetComF->HastaNew:=oBrw:oCol( "DesdeNew" ):Value + (oBrw:oCol( "Cantidad" ):Value-1),oBrw:Refresh() } oBrw:oCol( ...
by José Camilo
Tue Mar 28, 2023 7:08 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con un error en xbrowse
Replies: 2
Views: 278

Re: Fighting Xbrowse and lozing !!!

... topic's, so a lot of data. For all the methods are pretty clear, but using the correct method is important. I have to look into methods : bChange bOnchange Key because it is not normal that in my program when I move to the right, a function is called. In Yunus it is not, so I have to Dissect Yunus ...
by Marc Venken
Thu Dec 22, 2022 8:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fighting Xbrowse and lozing !!!
Replies: 18
Views: 1569

Re: Subclass Xbrowse or changed data function

If an error occurs while saving data to the DBF, bOnChange also is not executed.
by nageswaragunupudi
Fri Sep 09, 2022 1:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Subclass Xbrowse or changed data function
Replies: 5
Views: 310

Re: Xbrowse bOnChange works when changing data in loop ?

If you use VarPut(), bOnChange also is executed and totals also get modified.
VarPut() is totally equivalent to user editing the data online.
by nageswaragunupudi
Sun Jan 30, 2022 5:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse bOnChange works when changing data in loop ?
Replies: 1
Views: 176

Xbrowse bOnChange works when changing data in loop ?

I first noticed that when I use a For Next using the Xbrowse fields the codeblock onchange from that field is also executed ? That is correct ? Very nice... did not know, but please confirm... // his will change data from the selected rows FOR I = 1 TO LEN(oBRWT2:aSELECTED) // obrw:aSELECTED is an a...
by Marc Venken
Sat Jan 29, 2022 11:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse bOnChange works when changing data in loop ?
Replies: 1
Views: 176

Re: to Nages - sample test xbrowse with datepick

thanks

I tried with

WITH OBJECT oBrowse:aCols[ 8]
:nEditType:= EDIT_DATE
:cEditPicture := "dd-mmmm-yyyy"
:oEditGet:SetRange( dStagioneMin,dStagioneMax )
:bOnChange := bCalcRow
END

but make error
by Silvio.Falconi
Wed May 06, 2020 3:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: to Nages - sample test xbrowse with datepick
Replies: 2
Views: 505

Re: Problem on xbrowse :bOnChange

perhaps I found the error

on Function CalcoloTotali(oBrowse,aGet)

I insert this command

oBrowse:GoBottom()

this go to the last record and it is modified
by Silvio.Falconi
Fri Nov 15, 2019 12:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem on xbrowse :bOnChange //RESOLVED
Replies: 6
Views: 1236

Re: Problem on xbrowse :bOnChange

Hi Silvio , May I request to post this Sample Code ? Thanks in advance...! Thanks Shridhar I don't think it can create a small example because many archives are connected around 10, for example in the creation of the articles are connected the articles and the prices of the articles. When I go to m...
by Silvio.Falconi
Fri Nov 15, 2019 11:01 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem on xbrowse :bOnChange //RESOLVED
Replies: 6
Views: 1236

Re: Problem on xbrowse :bOnChange

nageswaragunupudi wrote:Please post a self-contained sample that we can build at our end.

see at your e-mail
by Silvio.Falconi
Fri Nov 15, 2019 10:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem on xbrowse :bOnChange //RESOLVED
Replies: 6
Views: 1236

Re: Problem on xbrowse :bOnChange

Please post a self-contained sample that we can build at our end.
by nageswaragunupudi
Fri Nov 15, 2019 9:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem on xbrowse :bOnChange //RESOLVED
Replies: 6
Views: 1236

Re: Problem on xbrowse :bOnChange

Hi Silvio ,

May I request to post this Sample Code ? Thanks in advance...!

Thanks
Shridhar
by shri_fwh
Fri Nov 15, 2019 5:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem on xbrowse :bOnChange //RESOLVED
Replies: 6
Views: 1236

Problem on xbrowse :bOnChange //RESOLVED

https://i.postimg.cc/xTvSVhdX/yyyyyyyyyyyyyy.png if I go to change the penultimate line, then the last row is also changed why ? on my xbrowse at init I made I use array on Xbrowse bCalcRow := { || (MyCalcFun(oBrowse,.t.), CalcoloTotali(oBrowse,aGet) )} MyCalcFun function Function M...
by Silvio.Falconi
Wed Nov 13, 2019 9:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem on xbrowse :bOnChange //RESOLVED
Replies: 6
Views: 1236

Re: XBrowse setget

I am extremely sorry.

It is not bOnSave.

It is bOnChange

oCol:bOnChange := { |oCol, uOldVal| yourcode }
by nageswaragunupudi
Fri Nov 08, 2019 6:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse setget
Replies: 5
Views: 742
Next

Return to advanced search