DTPicker on change clause

Post Reply
pawelu
Posts: 126
Joined: Thu Oct 06, 2005 10:18 pm
Location: Poland
Contact:

DTPicker on change clause

Post by pawelu »

Antonio,

In current version of FWPPC this command is invalid:

Code: Select all | Expand

   @ 20, 20 DTPicker oDTP Var dDate Size 80, 20 Pixel On Change DTPChange (oDTP)


Error is show: No exported method GETDATE. When we use bChange code block control is properly created.

Regards
Pawel

Test procedure:

Code: Select all | Expand

Function TestH ()

   Local oWnd := Nil
   Local oDTP := Nil
   Local dDate := Date ()

   Define Window oWnd
   @ 20, 20 DTPicker oDTP Var dDate Size 80, 20 Pixel On Change DTPChange (oDTP)
   Activate Window oWnd

Return .T.

Function DTPChange (oDTP)

   LOcal dDate := oDTP : GetDate ()

Return .T.
Post Reply