Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calendar
Message
De
29/12/2003 09:56:31
 
 
À
29/12/2003 04:10:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Divers
Thread ID:
00862440
Message ID:
00862487
Vues:
12
>
>I need to open a Calendar By ComboBox and When user select the date, the date should Appear in this combo also
>
Here we go (again):
:)
oMyform                 = CREATE('myform')   
oMyform.Show   
READ EVENTS
return

Define Class MYFORM AS Form
    height              = 60
    caption             = "Testing DTPicker"
    autocenter          = .t.
    maxbutton           = .f.
    minbutton           = .f.
    alwaysontop         = .t.
    procedure destroy
        clear events
    endproc
	Add OBJECT odatetime AS odttm with ;
      	width           = 85,;
     	Top             = 5,;
     	height          = 25
Enddefine
DEFINE Class odttm AS Olecontrol
     OleClass           = "MScomctl2.DTPicker.2"
     OleLCID            = 1033
     PROCEDURE Init
        this.left       = (thisform.width-this.width) / 2
	Endproc
Enddefine
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform