Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP Date and DateTime Picker Classes
Message
From
02/07/2001 07:19:08
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00525245
Message ID:
00525801
Views:
16
Ok, thanks Nick. Sorry about the password thingy. But it was add the password or not be able to properly upload the file. :-)

Bill

>I just removed the password from ZIP.
>
>>Hi Bill,
>>
>>I just downloaded DatePick.zip but couldn't unzip it because it's asking for password.
>>
>>BTW, did you ever used GetDayBold event of the MonthView control?
>>
>>>For those interested, I have submitted an updated version of the DatePick.zip file to the UT web masters with some modifications. It was noted to me that MS KB article Q192693 indicates a problem instantiating ActiveX controls at run-time using the AddObject() method. The workaround according to MS is to add the control at design time or sub-class the control in code and instantiate the object using the NewObject() method. Since the MonthView control was being instantiated using AddObject(), this would be a problem. Since I already sub-class the control in the PRG's MonthView.prg and MonthViewDateTime.prg to get some functionality I needed, I have changed the AddObject() calls to NewObject() calls.
>>>
>>>It was also noted that the use of CREATEOBJECT() in the code could be changed to NewObject() to eliminate the need for SET CLASSLIB/RELEASE CLASSLIB statments. I have implemented this also.
>>>
>>>The DatePick.zip file now also contains a modification history log table, Updates.dbf, which can be opened to see all the details, locations, etc. regarding these modifications. The modified code is included in this table so if changes have already been made to the classes, overwriting of the class files is not necessary. The specific code changes can be copied from the Updates table and pasted into the appropriate class method.
>>>
>>>My thanks to Rip Ryness for pointing out these issues to me.
>>>
>>>Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Reply
Map
View

Click here to load this message in the networking platform