Default Values in TSBrowse

Default Values in TSBrowse

Postby Willy » Thu Mar 02, 2006 11:12 am

Hello All,

I use a Browse with TSBrowse and autoappend.

Pushing the down key adds a new record.

I want that some fields are already filled in with a function like CopyLastDate() etc.

Is there an example for this problem.

Thanks

Willy Hermans
Willy
 
Posts: 117
Joined: Thu Mar 02, 2006 11:06 am
Location: Belgium

Postby Frank Demont » Thu Mar 02, 2006 11:43 am

DATA bAddRec // custom function for adding record (with your own message) ???

Frank
Frank Demont
 
Posts: 142
Joined: Sun Oct 09, 2005 10:59 am

Postby Willy » Thu Mar 02, 2006 12:21 pm

Thanks Frank,

I saw this and added

oLbx:bAddRec := {||MsgInfo("Test")}

This gives no result

Is there a working sample.

Thanks,

Willy Hermans
Willy
 
Posts: 117
Joined: Thu Mar 02, 2006 11:06 am
Location: Belgium


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 62 guests