Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using .NewObject method
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Using .NewObject method
Miscellaneous
Thread ID:
00552519
Message ID:
00552519
Views:
48
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.
Next
Reply
Map
View

Click here to load this message in the networking platform