Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using .NewObject method
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Using .NewObject method
Divers
Thread ID:
00552519
Message ID:
00552519
Vues:
47
Hi,

I have the following code in a custom method:

Local cPathToObject

cPathToObject = "This.frmOESWAdmin.pgfOESWAdmin.pgeShifts." <--(I'm lazy)

&cPathToObject.NewObject("oleShiftCalendar","oleCalendar","BaseControls")
&cPathToObject.oleShiftCalendar.Height = 286
&cPathToObject.oleShiftCalendar.Left = 472
&cPathToObject.oleShiftCalendar.Top = 18
&cPathToObject.oleShiftCalendar.Width = 301
&cPathToObject.oleShiftCalendar.ShowDateSelectors = .T.
&cPathToObject.oleShiftCalendar.Visible = .T.


My question is, can I also put code in the calendar's right click method here or do I have to include it in the class this is based on ?

PS: Really looking forward to the WhilFest to get some "face to face" on things like this.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform