FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveMac / FivePhone (iPhone, iPad) DatePickers support
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
DatePickers support
Posted: Tue Jul 06, 2010 06:53 PM
Thanks to Dino! :-)



TestDPick.prg
Code (fw): Select all Collapse
// Testing DatePickers

#include "FiveMac.ch"

function Main()

   local oDlg, oDPick 
          
   DEFINE DIALOG oDlg TITLE "Test DatePicker" ;
      FROM 20, 300 TO 400, 200
       
   @ 20, 20 DATEPICKER oDPick OF oDlg SIZE 400, 300
     
   @ 20, 200 BUTTON "Value" OF oDlg ACTION MsgInfo( oDPick:GetText() )
    
   @ 20, 300 BUTTON "End" OF oDlg ACTION oDlg:End() 
    
   ACTIVATE DIALOG oDlg 
     
return nil
regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion