DTPicker on change clause

DTPicker on change clause

Postby pawelu » Mon Nov 06, 2006 7:48 pm

Antonio,

In current version of FWPPC this command is invalid:

Code: Select all  Expand view
   @ 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 view
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.
pawelu
 
Posts: 126
Joined: Thu Oct 06, 2005 10:18 pm
Location: Poland

Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 6 guests