Search found 297 matches: evaluated

Return to advanced search

Re: xBrowse AUTOSORT DBF does not work

In the COLUMNS clause, we can include expressions also, as long as the expression can be evaluated in another module, i.e., expressions not containing local variables or static functions. The above can be written as COLUMNS "IMPORTE+(IMPORTE*IVA/100)-(IMPORTE*IRPF/100)", ...
by nageswaragunupudi
Thu Dec 26, 2019 10:01 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse AUTOSORT DBF does not work
Replies: 3
Views: 540

New FTDN December 2019 (FWH 19.12)

... oBrw, lLock ) If lLock is set to .t. or a codeblock is specified, the record is locked while reading and on failure to read, the codeblock is evaluated with the rowset as parameter. Till FWH1909, read is attempted with clause "LOCK IN SHARE MODE". This approach was not giving the ...
by Antonio Linares
Sat Dec 21, 2019 5:59 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN December 2019 (FWH 19.12)
Replies: 2
Views: 3036

Re: XBrowse setget

This codeblock is called after a cell is edited and saved.
Code: Select all  Expand view

oCol:bOnSave( oCol, uOldValue )
 


In case of DBF, the record is locked, new value is saved, the codeblock bOnSave is evaluated and then the record is unlocked.
by nageswaragunupudi
Thu Nov 07, 2019 2:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse setget
Replies: 5
Views: 748

New FTDN September/Septiembre 2019 (FWH 19.09)

... names in some tables. These methods are now dropped. - Method Eval( bAction, [bFor], [bWhile], [nNext], [nRecord], [lRest] ) All codeblocks are evaluated with Self as parameter. Recordpointer is restored after execution. - After a requery, if the sql does not contain "order by" clause, ...
by Antonio Linares
Sun Oct 13, 2019 11:14 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN September/Septiembre 2019 (FWH 19.09)
Replies: 1
Views: 2902

FWH 1908: Meter Control Enhancements

... colors during the progress depending on the progress or other variables. 2) PROMPT <cText> can also be a codeblock. All the codeblocks are evaluated with progress expressed as a fraction (0.0 to 1.0) as parameter. Examples of Usage: BARCOLOR { |n| ARGB( n, CLR_HBLUE ) }PROMPT ...
by nageswaragunupudi
Wed Sep 25, 2019 2:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 1908: Meter Control Enhancements
Replies: 2
Views: 917

New FTDN June/Junio 2019 (FWH 19.06)

June 2019 ========= * XBrowse: - New Data bOnResizeCol: Evaluated after completion of resize of a column by mousedrag by the user with parameters Column object and previous width before resize. eg: oBrw:bOnResizeCol := { |oCol,nPrevWidth| <action> ...
by Antonio Linares
Thu Jul 11, 2019 6:14 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN June/Junio 2019 (FWH 19.06)
Replies: 4
Views: 2755

New FTDN May/Mayo 2019 (FWH 19.05)

... aParams is an array of values to be inserted in the place holders marked with ?. aParams can also be a codeblock which returns an array when evaluated. Usage: oDbf:SetFilter( "UPPER(FIRST) = ? .AND. HIREDATE >= ?", ; { cName, dDate } ) - New: Method Refilter( aParams ): Resets ...
by Antonio Linares
Mon Jun 03, 2019 12:54 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN May/Mayo 2019 (FWH 19.05)
Replies: 4
Views: 3169

Re: XBROWSE edit_listbox

In this case the :bOnPostEdit from this cell are not evaluated. In normal we leave the listbox-cell with pressing "Enter". I will virtual press "enter" from program. My question with other words: What method are called after pressing "Enter"?
by byte-one
Tue May 28, 2019 1:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE edit_listbox
Replies: 4
Views: 532

Re: xbrowse listbox

... 1. a Listbox in xbrowse with items leading a,b,c 2. selected with dblclick or return. exit with esc or button 3. automatically evaluated the bPostedit and leaves the listbox to next cell do You want to move to the next column ( focus ) or simply down to the next row :?: regards ...
by ukoenig
Mon Apr 22, 2019 3:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse listbox
Replies: 5
Views: 755

Re: XBROWSE bEditValid bug? updated!

Thanks, what are the difference between oGet:varget() and eval( oGet:bSetGet) ?

The second bug is definitive!
if :lAutosave := .T. for this column, the bEditValue is evaluated twice if i leave the column with ENTER but when leaving with mouse sometime runtime-error nLastkey == NIL.
by byte-one
Wed Jan 16, 2019 2:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE bEditValid bug? updated!
Replies: 5
Views: 971

Re: Qué es lo erróneo?

... values can be compared using the comparison operators !=, #, >, >=, =, == , =< and <. The True/False result of the comparison is evaluated by the preprocessor. // The example demonstrates how the same source code file can be // compiled for different program versions. Depending ...
by FranciscoA
Tue Jan 15, 2019 5:59 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Qué es lo erróneo?
Replies: 9
Views: 2015

XBROWSE bEditValid bug? updated!

... 10 (maybe a UTF-problem). On normal gets outside xbrowse i have not tested. A second bug: if :lAutosave := .T. for this column, the bEditValue is evaluated twice if i leave the column with ENTER but when leaving with mouse sometime runtime-error nLastkey == NIL.
by byte-one
Tue Jan 15, 2019 10:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE bEditValid bug? updated!
Replies: 5
Views: 971

New FTDN November 2018 (FWH 18.11)

... http://forums.fivetechsupport.com/viewtopic.php?f=6&t=36383 If write to oReplServer fails, bOnReplFail is evaluated. If oReplServer is set to nil, replication is discontinued or else the write to main server is rolled back. New methods: RecToHash( [aFields] ...
by Antonio Linares
Sat Dec 01, 2018 10:46 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN November 2018 (FWH 18.11)
Replies: 1
Views: 2159

New FTDN Oct. 2018 (FWH 18.10)

... // When set to .t. enables user to crop image hCrop // holds bitmap of cropped image bOnCrop // Optional action to be taken when crop is finished. Evaluated with oImage as parameter. Default behavior without additional programming: User may right click on the image and select "Crop" in ...
by Antonio Linares
Sun Nov 11, 2018 11:24 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN Oct. 2018 (FWH 18.10)
Replies: 5
Views: 4242

FWH 18.08: Gets with loop variable as array subscript

... every Get, its bSetGet codeblock is assigned with { |u| If( PCount() == 0, aValues[ n ], aValues[ n ] := u ) }. During runtime this codeblock is evaluated with the value of 'n', which is always nLen+1 and array bound error occurs. To overcome this problem, we need to create the Gets in a separate ...
by nageswaragunupudi
Thu Sep 27, 2018 6:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 18.08: Gets with loop variable as array subscript
Replies: 15
Views: 2513
PreviousNext

Return to advanced search