Search found 54 matches: preload

Return to advanced search

Re: How to create a PRIVATE variable owned by the caller?

this is the function code in "memvars.c" of Harbour HB_FUNC( __MVSETBASE ) { HB_STACK_TLS_PRELOAD HB_ISIZ nOffset = hb_stackBaseProcOffset( 0 ); if( nOffset > 0 ) hb_stackItem( nOffset )->item.asSymbol.stackstate->nPrivateBase = hb_memvarGetPrivatesBase(); }
by vensanto
Wed Jan 11, 2023 6:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to create a PRIVATE variable owned by the caller?
Replies: 21
Views: 777

Re: time schedule system

Dear Cristobal,

Thank you for the kind words.
Now also preload is working fine.

Best regards,
Otto

Image
by Otto
Fri Apr 16, 2021 8:02 am
 
Forum: mod_harbour
Topic: time schedule system
Replies: 5
Views: 699

volviendo a 16bits con Fivewin, Clipper y Blinker

... EXECUTABLE COMPRESS 5 MAP S,A,X PACKCODE PACKDATA DEFBEGIN name PeadWin description 'Clipper for Windows library' exetype Windows 3.1 data preload moveable code preload moveable nondiscardable stacksize 8500 heapsize 2048 segment 'PLANKTON_TEXT' nondiscardable segment 'EXTEND_TEXT' nondiscardable ...
by Armando Picon
Tue Jun 23, 2020 3:52 am
 
Forum: FiveWin for CA-Clipper
Topic: volviendo a 16bits con Fivewin, Clipper y Blinker
Replies: 1
Views: 15509

Re: Preload data for using Xbrouwe EditSource(.T.)

We confirm the problem that the values used in SetDefault() are not being saved. We fixed it in the next version FWH1904.
Till then you may use FieldPut() as I explained above.
by nageswaragunupudi
Sat May 04, 2019 2:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Preload data for using Xbrouwe EditSource(.T.)
Replies: 11
Views: 1405

Re: Preload data for using Xbrouwe EditSource(.T.)

Please try
Code: Select all  Expand view
oRec:FieldPut( fldname, value )

instead of
Code: Select all  Expand view
oRec:SetDefault( fldname, value )
by nageswaragunupudi
Sat May 04, 2019 8:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Preload data for using Xbrouwe EditSource(.T.)
Replies: 11
Views: 1405

Re: Preload data for using Xbrouwe EditSource(.T.)

Same problem in when i use 19.03
by Marc Venken
Fri May 03, 2019 12:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Preload data for using Xbrouwe EditSource(.T.)
Replies: 11
Views: 1405

Re: Preload data for using Xbrouwe EditSource(.T.)

I will check again and get back to you.
Can you let me know which version are you using for testing? FWH1903?
by nageswaragunupudi
Fri May 03, 2019 7:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Preload data for using Xbrouwe EditSource(.T.)
Replies: 11
Views: 1405

Re: Preload data for using Xbrouwe EditSource(.T.)

Still, the preloaded data is seens in the edit dialog, but will not be saved ?

It seems that only the inputfields that are changed are saved, not the fields that are filled with preloaded data.

Can this be a issue from FW ? I would like to use the standards of FW for this kind of small dialogs.
by Marc Venken
Fri May 03, 2019 7:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Preload data for using Xbrouwe EditSource(.T.)
Replies: 11
Views: 1405

Re: Preload data for using Xbrouwe EditSource(.T.)

// Here I want based on the current colomn to put the Seek data in that field /* if oBrw:oCol() = 2 oRec:SetDefault( "naam_1", oBrw:cSeek ) elseif oBrw:oCol() = 3 oRec:SetDefault( "straat", oBrw:cSeek ) oRec:SetDefault( oBrw:SelectedCol():cExpr, oBrw:cSeek )  It ...
by nageswaragunupudi
Thu May 02, 2019 2:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Preload data for using Xbrouwe EditSource(.T.)
Replies: 11
Views: 1405

Re: Preload data for using Xbrouwe EditSource(.T.)

Can you please try this? oBrw:bDataRow := <|oBrw,cFieldList,lNew|    local oRec := TDataRow():New( oBrw:uDataSource, cFieldList, lNew )   if oRec:RecNo == 0  // new record      oRec:SetDefault( fieldname, yourvalue )   endif   return oRec   >  It works for getting the ...
by Marc Venken
Wed May 01, 2019 6:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Preload data for using Xbrouwe EditSource(.T.)
Replies: 11
Views: 1405

Re: Preload data for using Xbrouwe EditSource(.T.)

From FWH 1904 we can write oBrw:EditSource(.T., "klant_nr,Naam_1,Straat,Postcode,Gemeente" , { nil, "somename", nil, nil, cGemeente }) The non empty values in the array in the 3rd paramter will be initially assigned to the fileds in that order. Very Nice.. Wait...
by Marc Venken
Wed May 01, 2019 6:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Preload data for using Xbrouwe EditSource(.T.)
Replies: 11
Views: 1405

Re: Preload data for using Xbrouwe EditSource(.T.)

From FWH 1904 we can write
Code: Select all  Expand view
oBrw:EditSource(.T., "klant_nr,Naam_1,Straat,Postcode,Gemeente" , { nil, "somename", nil, nil, cGemeente })

The non empty values in the array in the 3rd paramter will be initially assigned to the fileds in that order.
by nageswaragunupudi
Wed May 01, 2019 4:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Preload data for using Xbrouwe EditSource(.T.)
Replies: 11
Views: 1405

Re: Preload data for using Xbrouwe EditSource(.T.)

Can you please try this? oBrw:bDataRow := <|oBrw,cFieldList,lNew|    local oRec := TDataRow():New( oBrw:uDataSource, cFieldList, lNew )   if oRec:RecNo == 0  // new record      oRec:SetDefault( fieldname, yourvalue )   endi...
by nageswaragunupudi
Wed May 01, 2019 8:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Preload data for using Xbrouwe EditSource(.T.)
Replies: 11
Views: 1405

Preload data for using Xbrouwe EditSource(.T.)

Can we preload data when using the editsource() function from Xbrowse, without building a own adit function ?  oBrw:EditSource(.T., "klant_nr,Naam_1,Straat,Postcode,Gemeente" )  some edit values should contain ...
by Marc Venken
Wed May 01, 2019 8:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Preload data for using Xbrouwe EditSource(.T.)
Replies: 11
Views: 1405
Next

Return to advanced search