GUI design problem
-
I have a problem with GUI design and would be interested what anyone else would do. My client wants their users to be able to change the system time to another date other than NOW(). What they have requested is a checkbox be placed on a form and when ticked a dialog pops up with a date-time pick on it from which the user can select the new system date. I have presently put OK and CANCEl buttons on the said dialog. If the user has changed the date to other than NOW() and hits OK then the system date is updated, otherwise clicking on CANCEL leave the system date un-changed. If the system date remains as NOW() the check-box is then un-ticked otherwise it is ticked. The problem I have is that if the system date is already something other than NOW() and they wish to change the date to some other date but still not NOW(), clicking on the check-nox obviously un-ticks the checkbox and desn't then show the said dialog they have to tick the checkbox a second time to get the dialog to show. I think the checkbox isn't quite the correct widget to use. They don't want the date to be visible until the dialog is displayed. Any advice would be appreciated.
-
I have a problem with GUI design and would be interested what anyone else would do. My client wants their users to be able to change the system time to another date other than NOW(). What they have requested is a checkbox be placed on a form and when ticked a dialog pops up with a date-time pick on it from which the user can select the new system date. I have presently put OK and CANCEl buttons on the said dialog. If the user has changed the date to other than NOW() and hits OK then the system date is updated, otherwise clicking on CANCEL leave the system date un-changed. If the system date remains as NOW() the check-box is then un-ticked otherwise it is ticked. The problem I have is that if the system date is already something other than NOW() and they wish to change the date to some other date but still not NOW(), clicking on the check-nox obviously un-ticks the checkbox and desn't then show the said dialog they have to tick the checkbox a second time to get the dialog to show. I think the checkbox isn't quite the correct widget to use. They don't want the date to be visible until the dialog is displayed. Any advice would be appreciated.
I think so you are having a problem, As per the problem i understand is When you open the dialog box to display and store it in a variable the system time and date is stored. But when the user selects Ok button or cancel button the time gets changed. When you next call now function. it is better to use date function and time function this will give you the current time and todays date. Thanks! Manoj Madhavan;)