Brad
Here is some code I use on before start of my main menu form
CLEAR VAR vins
SET V vins = (CVAL('INSERT'))
IF vins = 'ON' THEN
SET V vins = 'INS ON'
ELSE
SET V vins = 'INS OFF'
ENDIF
I then display the result at the status bar at the bottom of the mainmenu
In the status bar I include right to left
Date time, Numlock, Caps that are standard for statusbar, then to left of
that I Place the variable vins as above
Gunnar Ekblad
Kontema IT AB
Hästholmsvägen 32
131 30 Nacka
Sweden
-----Ursprungligt meddelande-----
Från: [email protected] [mailto:[email protected]] För Brad Davidson
Skickat: den 13 april 2010 15:56
Till: RBASE-L Mailing List
Ämne: [RBASE-L] - Re: Typeover or Insert Off
Thanks, Razzak, and great tools which we've used in our apps. However, in
this case, we preload some text into the DB Edit object as a template for
data entry. The user then places the cursor within the text string and plug
in some values to overwrite a portion of the template, but, I'm unable to
set overwrite on and they often forget to press the insert key, hence their
annoyance and my question.
Best regards,
Brad Davidson
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of A. Razzak
Memon
Sent: Monday, April 12, 2010 10:32 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: Typeover or Insert Off
At 09:19 PM 4/12/2010, Brad Davidson wrote:
>Is there a property command for insert or typeover? Similar to
>capslock or numlock, an application property?
Brad,
A few options to achieve your goal using the DB or Variable
Control PROPERTY commands:
01.
PROPERTY <Component ID> AUTOSELECT 'TRUE'
Determines whether all the text in the DB or Variable Edit
Control is automatically selected when the control gets focus.
02.
PROPERTY <Component ID> FIRSTCHAR 'TRUE'
Specifies whether the cursor will appear in the DB or Variable
component starting position.
03.
PROPERTY <Component ID> LASTCHAR 'TRUE'
Specifies whether the cursor will appear in the DB or Variable
component ending position.
Hope that helps!
Very Best R:egards,
Razzak.
--- RBASE-L
================================================
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [email protected]
(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: INTRO
================================================
TO UNSUBSCRIBE:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: UNSUBSCRIBE
================================================
TO SEARCH ARCHIVES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body,
place any
text to search for.
================================================