A method on addressing the problems with Date Pickers
A method on addressing the problems with Date Pickers
- Subject: A method on addressing the problems with Date Pickers
- From: Brian Christmas <email@hidden>
- Date: Sat, 23 Aug 2014 17:04:05 +1000
G'day scripters.
As some of you might be aware, there is a fundamental problem with Apples Date Pickers.
The problem is that if a Date Picker is presented as a Graphical type, and programatically changed to a Textual type, as soon as the user starts to alter an entry, the Picker re-locates itself to the top left of the main window. In addition, when the change-over takes place, the Textual field is located at the bottom of the position of the Graphical location. This is visually jarring, as the users focus is usually on the centre of the Graphical position, and the new location may not be immediately obvious.
Whilst the Graphical Date Picker is visually pleasing, it's a PITA to set a date far from the Pickers default; but the Textual Picker, whilst not looking as nice, is far easier to reset.
To overcome these deficiencies, I have created an answer-to-the-problem Xode project that uses two Date Pickers.
In addition, it includes an example of how to use your own desired color in a text field, which Shanes 'Explored' book does not cover.
If any of you wish a copy of this project, please contact me off list, and I'll happily send you a compressed copy. It' s 383KB in size.
Regards
Santa
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden