Mike:
I'm running a daily 'production' operation in Excel while incrementally moving functionality into RBase as I learn what I'm doing. This is a 'bridge' issue where I manually [mouse-copy/paste] strings from Excel into the RBase DIALOG.
**************
Like yours, when the dialog comes up, the cursor is already in the first element (position) of the mask, ready for keyboard entry. If direct typing were the only mode of entry, no problem.
When [mouse-pasting], if I'm not precise, the paste point is mid-mask. I can [LeftArrow] or [Home] over and proceed, no problem. I have code to capture and handle truncated values, so worst case is I just have to re-paste more carefully.
I'm just wondering if there's a means to automatically FORCE the focus to the first element in the mask.
Thanks Mike.
Bruce
-------- Original Message --------
Subject: [RBASE-L] - Re: DIALOG command questions
From: "Mike Byerley" <[email protected]>
Date: Sun, July 29, 2012 12:43 pm
To: [email protected] (RBASE-L Mailing List)
Bruce,
2. INITIAL CURSOR POSITION
on my machine, when the dialog comes up, the cursor is already in the
first element of the mask, ready for keyboard entry. What's yours doing?
----- Original Message -----
From: "Bruce Chitiea" <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Sunday, July 29, 2012 3:05 PM
Subject: [RBASE-L] - DIALOG command questions
All:
RBxTreme91_64 9.1.5.20717
Windows 7 Ult.
From an RMD file run from the R> Prompt, a simple dialog for entering
license plate numbers:
--SHOW DIALOG PLATE NUMBER
DIALOG 'Enter a Plate number||>CCCCCCCc;0;_' vmvplateno =8 vendkey 1 +
CAPTION 'Lookup Vehicle by Plate Number' +
OPTION MESSAGE_FONT_NAME Courier New +
|MESSAGE_FONT_SIZE 12
1. MESSAGE DISPLAY
Observation: Changing the MESSAGE_FONT_SIZE changes the size of text
'Enter a Plate Number', but NOT the ||formatted input.
Question: There appears to be no OPTION to craft the display of the
||formatted input DISTINCT FROM that of the message portion. Is there a
PROPERTY which might be set before the DIALOG for doing this?
2. INITIAL CURSOR POSITION
Observation: In this simple setup, the user clicks into the input box.
The cursor sets focus at whichever position the click is made, which may
be anywhere in the mask.
Question: Is there a PROPERTY which might be set before the DIALOG
command to force cursor focus to the first position in the mask?
TIA
Bruce

