UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Another Datepicker - Simplified Install, Any Version    
 
   
merlenicholson
post Mar 12 2012, 11:50 AM
Post #1

UtterAccess Veteran
Posts: 348
From: Tampa, Florida, USA - UTC -5:00



A replacement for the deservedly much maligned Microsoft .OCX. This implementation is entirely in code, one form and one module. The attachment contains both an Access 97 and Access 2003 version, but it imports and runs in Access 2007 and Access 2010. It will NOT work on 64-bit Access without changes to the Win API calls.

It's written as a pop-up, appearing just at your cursor position. Pick a date and it disappears in 1/2 second. The application has an additional form to show how it's implemented, with further implementation instructions. It has several options that change its appearance by adding Year and Month controls. All options are set by parameter calls to the datepicker object. You do not (necessarily) have to alter any code.

The frmCal code also provides a good example of how to include a Property Get/Let in a form. Notice that the form is not loaded explicitly. Instead, a Get just retrieves the new date value and the form loads automatically and waits for a calendar date pick.

Version 4 - of MerleDatePicker adjusts its window size according to some Windows settings. There are some good examples that demonstrates window positioning and size using the WIN32 API. Cybercow provided the Access 97 version.

Feel free to contact the author with suggestions or code breakages. I hope you find it useful.
Attached File  DatePicker.JPG ( 25.69K ) Number of downloads: 197


Attached File  MerleDatePickerV4.zip ( 149.38K ) Number of downloads: 52
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 20th May 2013 - 07:02 AM

Tag cloud: