Search found 161 matches: varput

Return to advanced search

Re: Question about xBrowse

... of clipboard    testmail->(dbappend())    testmail->email = cText    obrwmail:refresh()return You can also use the varput and do it in Xbrowse itself Dear Friend. With FWH you do not have to write long code like this at all.
by nageswaragunupudi
Mon Aug 21, 2023 10:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about xBrowse
Replies: 6
Views: 283

Re: Question about xBrowse

... of clipboard    testmail->(dbappend())    testmail->email = cText    obrwmail:refresh()return You can also use the varput and do it in Xbrowse itself
by Marc Venken
Mon Aug 21, 2023 7:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about xBrowse
Replies: 6
Views: 283

Re: GET and bLostFocus

I tried this and seems to work

@ 10,60 get oGet Var cFirst OF oDlg update PIXEL SIZE 100,15;
valid( (oBrw:first:varput(cFirst),.t.,oBrw:refresh()),.t.)

oGet:bLostFocus :=<|o| end rest is not needed.
....
by Marc Venken
Wed Jul 12, 2023 1:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: GET and bLostFocus
Replies: 10
Views: 525

Re: calendar not run ( DBLCLICK)

Giovany Vecchi wrote:Try like this:
oGet:VarPut( oCalendar:dDate )



?????????????????????????????????????????????????????????????????????????????????????????

not run Doubleclick!!!!
by Silvio.Falconi
Tue May 23, 2023 9:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: calendar not run ( DBLCLICK)
Replies: 20
Views: 1917

Re: calendar not run ( DBLCLICK)

Try like this:
oGet:VarPut( oCalendar:dDate )
by Giovany Vecchi
Mon May 22, 2023 9:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: calendar not run ( DBLCLICK)
Replies: 20
Views: 1917

Re: assign on a get

VARPUT()

Regards, saludos.
by karinha
Mon Jun 06, 2022 11:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: assign on a get
Replies: 2
Views: 269

Re: logic value in txbrowse cell

I use this to toggle a Logic field with F2 Key

oBrw[1]:bKeyDown := {| k | IF ( K == VK_F2, if(oBrw[1]:uitass:value = .f., oBrw[1]:uitass:Varput( .t. ), oBrw[1]:uitass:Varput( .F. ) ) , NIL ) }
by Marc Venken
Tue Feb 22, 2022 9:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: logic value in txbrowse cell
Replies: 4
Views: 224

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 ?

... LEN(oBRWT2:aSELECTED) // obrw:aSELECTED is an array containing recnos marked (oBrwT2:cAlias)->(dbgoto(oBRWT2:aSELECTED[I])) oBrwT2:&nVeldID:Varput( mem_var ) NEXT
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: editing yunus invoice

oBrw:NET:VarPut( nTotalTax )Not run ok oBrw:AMOUNT:VarPut( nTotalRow ) Not run ok The problem is that ndescount = undifined ?? and it failes at if ndescount > 0 if you comment them out, you get no error, but i'm sure that the ...
by Marc Venken
Tue Oct 19, 2021 12:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: editing yunus invoice
Replies: 8
Views: 526

Re: editing yunus invoice

... in your functions for better reading and sure when you add a column, all formulas will go wrong. With the names you have no problems. oBrw:NET:VarPut( value ) instead of oBrw:acols[9]:varput(value) you're right (nTotalRow*ntax)/100 oBrw:NET:VarPut( nTotalTax )Not run ok oBrw:AMOUNT:VarPut( ...
by Silvio.Falconi
Tue Oct 19, 2021 11:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: editing yunus invoice
Replies: 8
Views: 526

Re: editing yunus invoice

... in your functions for better reading and sure when you add a column, all formulas will go wrong. With the names you have no problems. oBrw:NET:VarPut( value ) instead of oBrw:acols[9]:varput(value)
by Marc Venken
Tue Oct 19, 2021 11:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: editing yunus invoice
Replies: 8
Views: 526

replace value on xbrowse ( tdatabase)

... local dStart := oBrowse:aArrayData[nRecord][5] local dEnd := oBrowse:aArrayData[nRecord][6] local nGiorni:= (dEnd-dStart)+1 *oBrowse:aCols[7]:VarPut(nGiorni) return nGiorni any solution ?
by Silvio.Falconi
Tue Apr 20, 2021 8:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: replace value on xbrowse ( tdatabase)
Replies: 4
Views: 456

Re: Need Help With xBrowse

RiazKhan wrote:Dear Nageswaragunupudi

Thanks, I have resolved my issue.

oBrw:Gross:VarPut( oBrw:Basic:Value + oBrw:A1:Value + oBrw:A5:Value )
oBrw:Net:VarPut( oBrw:Gross:Value + oBrw:ATot:Value - (oBrw:DTot:Value))

VarPut , hmmm slipped my mind, Very simple


Great !!!
by nageswaragunupudi
Sun Apr 05, 2020 12:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Need Help With xBrowse (Resolved)
Replies: 6
Views: 1010
Next

Return to advanced search