sbg2 Posted June 15, 2007 Posted June 15, 2007 Solution: FM 7 - Date Picker Description: I know this is included with version 8 (or so) but I am still stuck in version 7. The only other example I could find when I searched these forums was a version that was done in Developer 7. Since it used features I could not access I decided to try and create a date picker in plain v7. I used the MS Outlook date picker as a model(which may be the Windoze system date picker). Features so far: * 7 week calendar with week numbers * Change Year through pop-up custom dialog * Backward and Forward navigation by month Working Under: Solution Status: Beta Pre-requisites: Author(s) sbg2 Date: 06/15/07 Credits: Instructions / Other Info: User = Admin No Password Disclaimer: FM Forums does not endorse or warrantee these files are fit for any particular purpose. Do not post or distribute files without written approval from the copyright owner. All files are deemed public domain unless otherwise indictated. Please backup every file that you intend to modify.
Lee Smith Posted June 15, 2007 Posted June 15, 2007 Did you forget a little something? (hint sample file) Lee :cool:
sbg2 Posted June 18, 2007 Author Posted June 18, 2007 Whoops. File now attached. Also, the calendar is only a 6 week calendar not 7 as stated in my original post. Edit: Can anyone explain why hiding the status area on this solution greatly increases the time it takes to set the global date field? I created a new blank file with one global field and a button that performs one script step - Set Field [MyGlobal; Timestamp ( Get(CurrentDate) ;Get(CurrentTime))]. If the status area is hidden sometimes it takes upwards of 2 seconds to set the field, with the status area shown it is almost instantanious. DatePicker.zip
sbg2 Posted June 19, 2007 Author Posted June 19, 2007 Version 2 * Added the feature to highlight current date in red. * Added the feature to pick-up the field location and pop-up the DatePicker "under" the field. This requires a simple script for each Layout field. ~ Currently no testing is done to determine if pop-up window will be "off-screen". Example atttached includes seperate file showing how the DatePicker file can be attached to (hopefully) any external FM DB file. DatePicker_v2_.zip
sbg2 Posted June 25, 2007 Author Posted June 25, 2007 Version 3 * added Month Jumper * Date fields now give the option to enter date manually or pop-up the date picker. DatePicker_v3.zip
sbg2 Posted June 25, 2007 Author Posted June 25, 2007 Hi sbg2 what about a Time Picker ? That's not something I have considered. At this point I personally don't have any need for it.
Recommended Posts