Search found 52 matches: bonchange

Return to advanced search

Re: sample onemany

Use oBrw:bOnChange
Regards
Anser
by anserkk
Tue Feb 08, 2011 4:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: sample onemany
Replies: 4
Views: 893

Re: TSBrowse TXBrowse ?

Rao,

Thanks for that very detailed description of xBrowse.

I do have a question. It seems that bOnChange is evaluated post editing just like bPostEdit, correct? And so there is no way to do a pre-edit?

Regards,
James
by James Bott
Mon Jan 24, 2011 6:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TSBrowse TXBrowse ?
Replies: 8
Views: 3125

Re: TSBrowse TXBrowse ?

... There may be cases where the automatic features of xbrowse are not adequate or suitable in some situations. In such a case, we can use oCol:bOnChange := { |oCol,uOldValue| OurFunc( oCol, uOldValue). This codeblock is evaluated by XBrowse when the inline edit "changes" the value ...
by nageswaragunupudi
Mon Jan 24, 2011 7:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TSBrowse TXBrowse ?
Replies: 8
Views: 3125

Re: Xbrowse maketotals question

Thank you Mr RAO

The sample is OK, and i made a change to my program,

The bonchange code block made it work ok as expected,

Thank you for your help ,

Richard
by Richard Chidiak
Thu Jul 22, 2010 12:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse maketotals question
Replies: 2
Views: 529

Re: ** ListBox column in the XBROWSE

... '99.99 %' ; ARRAY aBill ; CELL LINES FOOTERS FASTEDIT AEval( oBrw:aCols, { |oCol| oCol:nEditType := EDIT_GET } ) AEval( oBrw:aCols, { |oCol| oCol:bOnChange := { || oBrw:MakeTotals(), oBrw:RefreshFooters() } } ) // Create a caculated column Amount based on Quantity, Value and Discount oBrw:Amount ...
by shri_fwh
Mon Dec 21, 2009 7:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ** ListBox column in the XBROWSE
Replies: 4
Views: 1712

Re: New FTDN June/Junio 2009 (9.06)

... comprobar los mapas de bits. Ejemplo: oCol:SetCheck( { "ON", "OFF" }, .t., { "Male", "Female" } ) ii. DATA bOnChange ( Nuevo ). Ejecutada cuando los datos de las columnas son cambiados con dos parámetros, (1) Columna objeto y (2) antes de editar el valor. ...
by Antonio Linares
Mon Jul 20, 2009 10:55 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN June/Junio 2009 (9.06)
Replies: 12
Views: 6408

New FTDN June/Junio 2009 (9.06)

... to the check bitmaps. Example: oCol:SetCheck( { "ON", "OFF" }, .t., { "Male", "Female" } ) ii. DATA bOnChange ( New ). Executed when the column?s data is changed with two parameters, (1) Column object and (2) pre-edit value. This code block can be ...
by Antonio Linares
Sat Jul 11, 2009 5:12 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN June/Junio 2009 (9.06)
Replies: 12
Views: 6408
Previous

Return to advanced search