DatePickers support

Post Reply
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

DatePickers support

Post by Antonio Linares »

Thanks to Dino! :-)

Image

TestDPick.prg

Code: Select all

// 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
Post Reply