Angus Leeming wrote: > On Tuesday 10 September 2002 4:57 pm, R. Lahaye wrote: > >>Angus Leeming wrote: >> >>>On Tuesday 10 September 2002 4:40 pm, R. Lahaye wrote: >>> >>>>Hi, >>>> >>>>I have "fdesigned" a new layout for the printer dialog. >>>>Before doing all the required code modification to >>>>implement this, I would like to know if it's OK. >>>> >>>>fdesign screenshot is attached. >>>> >>>>Please let me know what you think of this. >>>> >>>>Regards, >>>>Rob. >>> >>>Wouldn't the Odd/Even pages checkboxes fit in better with >>>the Range stuff. >> >>Like this. >>R. > > > fine by me.
Allen / Angus, Since both of you are listed as authors of the Xforms Printer dialog: Would you mind me simplifying the from/to page stuff? Having a from-string (instead of integer) and doing all that testing whether its input field is empty or not, creates so much obscure code. I really like to implement a more straightforward from/to policy with less amount of code. In the new dialog, you now either choose "All pages", or "Pages". For the latter, the from and to fields should require input, to make the OK/Apply button light up. Therefore, by default, from and to are set to 1 (integer value one). Notice that the odd/even pages are now independent check buttons that do not toggle anymore with "All pages". I found that more common sense. Further details, I would like to implement: - When "All pages" is selected, then disable From/to input fields (but still allow the Odd/Even check buttons!). - Prevent the selection of both, "Odd pages only" AND "Even pages only". - When destination to File is selected, disable all fields inside the Copies frame Shall I proceed with this? Regards, Rob.