Dennis: That was my first approach. Date/Time picker in Time mode had some off-list issues, so I tried my hand at a manual solution.
Bruce -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Dennis McGrath Sent: Tuesday, November 05, 2013 1:06 PM To: RBASE-L Mailing List Subject: [RBASE-L] - RE: Form Designer: 'REFRESH' Variable Edit? But, even better, use a variable date/time picker. It provides a much better user experience. Dennis McGrath Software Developer QMI Security Solutions 1661 Glenlake Ave Itasca IL 60143 630-980-8461 [email protected] -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Dennis McGrath Sent: Tuesday, November 05, 2013 2:58 PM To: RBASE-L Mailing List Subject: [RBASE-L] - RE: Form Designer: 'REFRESH' Variable Edit? Bruce, It is MUCH easier to just base the variable edit control on a variable of the target data type and check "Validate Data Type" in the control properties. It won't let you enter bad data. Dennis McGrath Software Developer QMI Security Solutions 1661 Glenlake Ave Itasca IL 60143 630-980-8461 [email protected] -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Bruce A. Chitiea Sent: Tuesday, November 05, 2013 1:54 PM To: RBASE-L Mailing List Subject: [RBASE-L] - Form Designer: 'REFRESH' Variable Edit? All: RBG95_64 Latest Q: How do I "refresh" a Variable Edit Control after recovering from an input error? Scenario: I've embedded a format mask ( 00:00;1;_ ) within a Variable Edit control ( ve_GateRunTime ) to capture a TEXT representation of a date: HH:MM. Success. The ON EXIT EEP runs the input value through a series of error detection tests. Also success. Upon error, the EEP delivers up appropriate PAUSE statements, refers handling to Fail routine which nulls variables. Focus returns to the PREVIOUS control in the tab order. I can then [TAB] to ve_GateRunTime and reenter. If I include these two statements: PROPERTY ve_GateRunTime SET_FOCUS 'TRUE' PROPERTY ve_GateRunTime FIRSTCHAR 'TRUE' ... at the end of in the Fail routine, focus "never leaves" ve_GateRunTime. While the cursor is correctly placed, the control accepts no input. [TAB]bing beyond that generates: 'Unrecognized global variable in expression. (2161)' [OK] 'Expression cannot be evaluated. (2179)' TRACE then locates the error at a line number far beyond the number of lines in the EEP. ??? Thanks much, Bruce Chitiea SafeSectors, Inc. eCondoMetrics 909.238.9012 cell

