You can already enable / disable ESC in a form. Go To the Form Property
Sheet (dialog)>Dynamic Caption tab>Disable [x] caption button, [Alt f4] and
[ESC] key combination. You WILL have to put a button on the form with EXIT
or you will be unable to close the form.
----- Original Message -----
From: "Michael J. Sinclair" <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Saturday, October 31, 2009 3:21 PM
Subject: [RBASE-L] - Re: Saving data with the ESC key, is it possible in
Rbase 7.6?
Ahhhh......ok.....now that makes sense to me. I am using a dummy table, 1
column, 1 row just to support the creation of my variables. I now recall
running into this same problem before. Even when I tried to create the
"hidden sister variable" I had the same problem because the [ESC] key
would always abort my code before I could do the comparison. I think I
might be able to mess around with adding a table to the form, using a DB
memo field and then getting the variable from the added table. Or I might
need some OS executable to just disable the [ESC] key...or just hire
employees that have never used Rbase 6.5 so they won't be used to hitting
the ESC key.
Do you think it would be reasonable to request an enhancement that would
allow us to enable/disable the ESC key within a control or a form?
Mike
-------------- Original message from "MikeB"
<[email protected]>: --------------
Mike,
It's not dependent on the control, it's at the form level. Now if you are
going to use Variable controls, you are going to have to set a second
"sister" variable to hold the value of the variable mapped to the
VariableEdit/Memo/etc control and check for differences between the
sister
and the mapped variable in the OnExit EEP and then save your changes
manually to the table. Totally unbound controls require a lot (did I say
a
lot, I meant a LOT ) of work, but offer complete control over the UI if
you
have the inclination to keep tweaking it, but if you are going to do that
stuff, then you might as well be programming in some other language and
using Oterro...
----- Original Message -----
From: "Michael J. Sinclair"
To: "RBASE-L Mailing List"
Sent: Saturday, October 31, 2009 2:59 PM
Subject: [RBASE-L] - Re: Saving data with the ESC key, is it possible in
Rbase 7.6?
> heheh...I did understand that I need to use my own table name...but
> thanks!
> Before I put this one to bed....how do I enable the pop up to ask the
> user
> if they should save the changes? It looks to me like the DB memo has
> that
> option as the default, but the Variable Memo does not.
>
> Mike
> PS: YMMV? Your Milage May Vary??
> -------------- Original message from "MikeB"
> : --------------
>
>
>> Obviously or NOT, the IntCmd in the code is the name of my table.
>> YMMV.
>> ----- Original Message -----
>> From: "MikeB"
>> To: "RBASE-L Mailing List"
>> Sent: Saturday, October 31, 2009 2:51 PM
>> Subject: [RBASE-L] - Re: Saving data with the ESC key, is it possible
>> in
>> Rbase 7.6?
>>
>>
>> > OK.. I put PROPERTY RBASE_FORM DONTSHOWSAVEDIALOG 'TRUE' in a test
>> > form
>> > and put the following in the onExit EEP and it saves the data.
>> >
>> > IF (LASTKEY(0)) = '[esc]' THEN
>> > PROPERTY table IntCmd 'POST'
>> > ENDIF
>> > RETURN
>> >
>> > ----- Original Message -----
>> > From: "MikeB"
>> > To: "RBASE-L Mailing List"
>> > Sent: Saturday, October 31, 2009 2:41 PM
>> > Subject: [RBASE-L] - Re: Saving data with the ESC key, is it
>> > possible
>> > in
>> > Rbase 7.6?
>> >
>> >
>> >>I usually put a Pause 2 using '' in there for testing just to see if
>> >>it
>> >>is
>> >>firing. I take it you have disabled the default behavior of
>> >>requiring
>> >>the
>> >>user to answer yes/no to the save data dialog that pops up. Wouldn't
>> >>enabling that behavior solve the problem?
>> >>
>> >>
>> >> ----- Original Message -----
>> >> From: "Michael J. Sinclair"
>> >> To: "RBASE-L Mailing List"
>> >> Sent: Saturday, October 31, 2009 2:28 PM
>> >> Subject: [RBASE-L] - Re: Saving data with the ESC key, is it
>> >> possible
>> >> in
>> >> Rbase 7.6?
>> >>
>> >>
>> >>> Nope, that did not work for me...
>> >>> Here is my code....
>> >>>
>> >>> SET V vlastkey = (LASTKEY(0))
>> >>> IF vlastkey = '[ESC]' THEN
>> >>> SKIP 0
>> >>> ENDIF
>> >>> RETURN
>> >>>
>> >>> When I trace it, it looks like the ESC key interupts the code
>> >>> before
>> >>> the
>> >>> ON EXIT EEP ever gets a chance to run.
>> >>> Mike
>> >>> -------------- Original message from "MikeB"
>> >>> : --------------
>> >>>
>> >>>
>> >>>> Apples and Oranges. We didn't have a Memo control in 6.5.
>> >>>>
>> >>>> The behaviors of the 7.0 and up controls are windows controls and
>> >>>> you
>> >>>> have
>> >>>> to work with that in mind. Did you try trapping for the '[ESC]'
>> >>>> in
>> >>>> the
>> >>>> onEXIT eep using LastKey and see if SKIP 0 would solve it?
>> >>>>
>> >>>> Sometimes just trying the brute force method gets an answer
>> >>>> quicker
>> >>>> than
>> >>>> waiting for a reply from the list. I didn't try it, but that is
>> >>>> what
>> >>>> I
>> >>>> would do.
>> >>>>
>> >>>>
>> >>>>
>> >>>> ----- Original Message -----
>> >>>> From: "Michael J. Sinclair"
>> >>>> To: "RBASE-L Mailing List"
>> >>>> Sent: Saturday, October 31, 2009 2:02 PM
>> >>>> Subject: [RBASE-L] - Saving data with the ESC key, is it possible
>> >>>> in
>> >>>> Rbase
>> >>>> 7.6?
>> >>>>
>> >>>>
>> >>>> > Hi all,
>> >>>> >
>> >>>> > I have a Variable Memo field in a form. If I change the data
>> >>>> > and
>> >>>> > hit
>> >>>> > the
>> >>>> > tab key, the changes are saved. But..my users are used to using
>> >>>> > Ver
>> >>>> > 6.5,
>> >>>> > where hitting the ESC key would save the changes. In Version
>> >>>> > 7.6,
>> >>>> > hitting
>> >>>> > the ESC key "cancels/undoes" the changes. Is it possible, to
>> >>>> > make
>> >>>> > the
>> >>>> > press of an ESC key save changes?
>> >>>> >
>> >>>> > I tried to remap the ESC key to [TAB][ESC], but that does not
>> >>>> > seem
>> >>>> > to
>> >>>> > work.
>> >>>> > If not, is it possible to make the ESC key just not do
>> >>>> > anything?
>> >>>> >
>> >>>> > Mike
>> >>>> >
>> >>>>
>> >>>>
>> >>>>
>>
--------------------------------------------------------------------------------
>> >>>>
>> >>>>
>> >>>> Hi all,
>> >>>>
>> >>>>
>> >>>>
>> >>>> I have a Variable Memo field in a form. If I change the data and
>> >>>> hit
>> >>>> the tab
>> >>>> key, the changes are saved. But..my users are used to using Ver
>> >>>> 6.5,
>> >>>> where
>> >>>> hitting the ESC key would save the changes. In Version 7.6,
>> >>>> hitting
>> >>>> the
>> >>>> ESC
>> >>>> key "cancels/undoes" the changes. Is it possible, to make the
>> >>>> press
>> >>>> of
>> >>>> an
>> >>>> ESC key save changes?
>> >>>>
>> >>>>
>> >>>>
>> >>>> I tried to remap the ESC key to [TAB][ESC], but that does not
>> >>>> seem
>> >>>> to
>> >>>> work.
>> >>>>
>> >>>> If not, is it possible to make the ESC key just not do anything?
>> >>>>
>> >>>>
>> >>>>
>> >>>> Mike
>> >>>>
>> >>>>
>> >>>
>> >>
>> >>
>> >>
>>
--------------------------------------------------------------------------------
>> >>
>> >>
>> >> Nope, that did not work for me...
>> >> Here is my code....
>> >>
>> >> SET V vlastkey = (LASTKEY(0))
>> >> IF vlastkey = '[ESC]' THEN
>> >> SKIP 0
>> >> ENDIF
>> >> RETURN
>> >>
>> >> When I trace it, it looks like the ESC key interupts the code
>> >> before
>> >> the
>> >> ON EXIT EEP ever gets a chance to run.
>> >> Mike
>> >> -------------- Original message from "MikeB"
>> >> : --------------
>> >>
>> >>
>> >> > Apples and Oranges. We didn't have a Memo control in 6.5.
>> >> >
>> >> > The behaviors of the 7.0 and up controls are windows controls and
>> >> > you
>> >> have
>> >> > to work with that in mind. Did you try trapping for the '[ESC]'
>> >> > in
>> >> > the
>> >> > onEXIT eep using LastKey and see if SKIP 0 would solve it?
>> >> >
>> >> > Sometimes just trying the brute force method gets an answer
>> >> > quicker
>> >> than
>> >> > waiting for a reply from the list. I didn't try it, but that is
>> >> > what
>> >> > I
>> >> > would do.
>> >> >
>> >> >
>> >> >
>> >> > ----- Original Message -----
>> >> > From: "Michael J. Sinclair"
>> >> > To: "RBASE-L Mailing List"
>> >> > Sent: Saturday, October 31, 2009 2:02 PM
>> >> > Subject: [RBASE-L] - Saving data with the ESC key, is it possible
>> >> > in
>> >> Rbase
>> >> > 7.6?
>> >> >
>> >> >
>> >> > > Hi all,
>> >> > >
>> >> > > I have a Variable Memo field in a form. If I change the data
>> >> > > and
>> >> > > hit
>> >> the
>> >> > > tab key, the changes are saved. But..my users are used to using
>> >> > > Ver
>> >> 6.5,
>> >> > > where hitting the ESC key would save the changes. In Version
>> >> > > 7.6,
>> >> hitting
>> >> > > the ESC key "cancels/undoes" the changes. Is it possible, to
>> >> > > make
>> >> the
>> >> > > press of an ESC key save changes?
>> >> > >
>> >> > > I tried to remap the ESC key to [TAB][ESC], but that does not
>> >> > > seem
>> >> to
>> >> > > work.
>> >> > > If not, is it possible to make the ESC key just not do
>> >> > > anything?
>> >> > >
>> >> > > Mike
>> >> > >
>> >> >
>> >> >
>> >> >
>>
--------------------------------------------------------------------------------
>> >> >
>> >> >
>> >> > Hi all,
>> >> >
>> >> >
>> >> >
>> >> > I have a Variable Memo field in a form. If I change the data and
>> >> > hit
>> >> the tab
>> >> > key, the changes are saved. But..my users are used to using Ver
>> >> > 6.5,
>> >> where
>> >> > hitting the ESC key would save the changes. In Version 7.6,
>> >> > hitting
>> >> the ESC
>> >> > key "cancels/undoes" the changes. Is it possible, to make the
>> >> > press
>> >> > of
>> >> an
>> >> > ESC key save changes?
>> >> >
>> >> >
>> >> >
>> >> > I tried to remap the ESC key to [TAB][ESC], but that does not
>> >> > seem
>> >> > to
>> >> work.
>> >> >
>> >> > If not, is it possible to make the ESC key just not do anything?
>> >> >
>> >> >
>> >> >
>> >> > Mike
>> >> >
>> >> >
>> >>
>> >
>> >
>>
>>
>
--------------------------------------------------------------------------------
heheh...I did understand that I need to use my own table name...but
thanks!
Before I put this one to bed....how do I enable the pop up to ask the
user
if they should save the changes? It looks to me like the DB memo has that
option as the default, but the Variable Memo does not.
Mike
PS: YMMV? Your Milage May Vary??
-------------- Original message from "MikeB"
: --------------
> Obviously or NOT, the IntCmd in the code is the name of my table. YMMV.
> ----- Original Message -----
> From: "MikeB"
> To: "RBASE-L Mailing List"
> Sent: Saturday, October 31, 2009 2:51 PM
> Subject: [RBASE-L] - Re: Saving data with the ESC key, is it possible
> in
> Rbase 7.6?
>
>
> > OK.. I put PROPERTY RBASE_FORM DONTSHOWSAVEDIALOG 'TRUE' in a test
form
> > and put the following in the onExit EEP and it saves the data.
> >
> > IF (LASTKEY(0)) = '[esc]' THEN
> > PROPERTY table IntCmd 'POST'
> > ENDIF
> > RETURN
> >
> > ----- Original Message -----
> > From: "MikeB"
> > To: "RBASE-L Mailing List"
> > Sent: Saturday, October 31, 2009 2:41 PM
> > Subject: [RBASE-L] - Re: Saving data with the ESC key, is it possible
in
> > Rbase 7.6?
> >
> >
> >>I usually put a Pause 2 using '' in there for testing just to see if
it is
> >>firing. I take it you have disabled the default behavior of requiring
the
> >>user to answer yes/no to the save data dialog that pops up. Wouldn't
> >>enabling that behavior solve the problem?
> >>
> >>
> >> ----- Original Message -----
> >> From: "Michael J. Sinclair"
> >> To: "RBASE-L Mailing List"
> >> Sent: Saturday, October 31, 2009 2:28 PM
> >> Subject: [RBASE-L] - Re: Saving data with the ESC key, is it
> >> possible
in
> >> Rbase 7.6?
> >>
> >>
> >>> Nope, that did not work for me...
> >>> Here is my code....
> >>>
> >>> SET V vlastkey = (LASTKEY(0))
> >>> IF vlastkey = '[ESC]' THEN
> >>> SKIP 0
> >>> ENDIF
> >>> RETURN
> >>>
> >>> When I trace it, it looks like the ESC key interupts the code
> >>> before
the
> >>> ON EXIT EEP ever gets a chance to run.
> >>> Mike
> >>> -------------- Original message from "MikeB"
> >>> : --------------
> >>>
> >>>
> >>>> Apples and Oranges. We didn't have a Memo control in 6.5.
> >>>>
> >>>> The behaviors of the 7.0 and up controls are windows controls and
you
> >>>> have
> >>>> to work with that in mind. Did you try trapping for the '[ESC]' in
the
> >>>> onEXIT eep using LastKey and see if SKIP 0 would solve it?
> >>>>
> >>>> Sometimes just trying the brute force method gets an answer
> >>>> quicker
> >>>> than
> >>>> waiting for a reply from the list. I didn't try it, but that is
what I
> >>>> would do.
> >>>>
> >>>>
> >>>>
> >>>> ----- Original Message -----
> >>>> From: "Michael J. Sinclair"
> >>>> To: "RBASE-L Mailing List"
> >>>> Sent: Saturday, October 31, 2009 2:02 PM
> >>>> Subject: [RBASE-L] - Saving data with the ESC key, is it possible
in
> >>>> Rbase
> >>>> 7.6?
> >>>>
> >>>>
> >>>> > Hi all,
> >>>> >
> >>>> > I have a Variable Memo field in a form. If I change the data and
hit
> >>>> > the
> >>>> > tab key, the changes are saved. But..my users are used to using
Ver
> >>>> > 6.5,
> >>>> > where hitting the ESC key would save the changes. In Version
> >>>> > 7.6,
> >>>> > hitting
> >>>> > the ESC key "cancels/undoes" the changes. Is it possible, to
> >>>> > make
the
> >>>> > press of an ESC key save changes?
> >>>> >
> >>>> > I tried to remap the ESC key to [TAB][ESC], but that does not
seem to
> >>>> > work.
> >>>> > If not, is it possible to make the ESC key just not do anything?
> >>>> >
> >>>> > Mike
> >>>> >
> >>>>
> >>>>
> >>>>
>
--------------------------------------------------------------------------------
> >>>>
> >>>>
> >>>> Hi all,
> >>>>
> >>>>
> >>>>
> >>>> I have a Variable Memo field in a form. If I change the data and
hit
> >>>> the tab
> >>>> key, the changes are saved. But..my users are used to using Ver
6.5,
> >>>> where
> >>>> hitting the ESC key would save the changes. In Version 7.6,
> >>>> hitting
the
> >>>> ESC
> >>>> key "cancels/undoes" the changes. Is it possible, to make the
> >>>> press
of
> >>>> an
> >>>> ESC key save changes?
> >>>>
> >>>>
> >>>>
> >>>> I tried to remap the ESC key to [TAB][ESC], but that does not seem
to
> >>>> work.
> >>>>
> >>>> If not, is it possible to make the ESC key just not do anything?
> >>>>
> >>>>
> >>>>
> >>>> Mike
> >>>>
> >>>>
> >>>
> >>
> >>
> >>
>
--------------------------------------------------------------------------------
> >>
> >>
> >> Nope, that did not work for me...
> >> Here is my code....
> >>
> >> SET V vlastkey = (LASTKEY(0))
> >> IF vlastkey = '[ESC]' THEN
> >> SKIP 0
> >> ENDIF
> >> RETURN
> >>
> >> When I trace it, it looks like the ESC key interupts the code before
the
> >> ON EXIT EEP ever gets a chance to run.
> >> Mike
> >> -------------- Original message from "MikeB"
> >> : --------------
> >>
> >>
> >> > Apples and Oranges. We didn't have a Memo control in 6.5.
> >> >
> >> > The behaviors of the 7.0 and up controls are windows controls and
you
> >> have
> >> > to work with that in mind. Did you try trapping for the '[ESC]' in
the
> >> > onEXIT eep using LastKey and see if SKIP 0 would solve it?
> >> >
> >> > Sometimes just trying the brute force method gets an answer
> >> > quicker
> >> than
> >> > waiting for a reply from the list. I didn't try it, but that is
what I
> >> > would do.
> >> >
> >> >
> >> >
> >> > ----- Original Message -----
> >> > From: "Michael J. Sinclair"
> >> > To: "RBASE-L Mailing List"
> >> > Sent: Saturday, October 31, 2009 2:02 PM
> >> > Subject: [RBASE-L] - Saving data with the ESC key, is it possible
in
> >> Rbase
> >> > 7.6?
> >> >
> >> >
> >> > > Hi all,
> >> > >
> >> > > I have a Variable Memo field in a form. If I change the data and
hit
> >> the
> >> > > tab key, the changes are saved. But..my users are used to using
Ver
> >> 6.5,
> >> > > where hitting the ESC key would save the changes. In Version
> >> > > 7.6,
> >> hitting
> >> > > the ESC key "cancels/undoes" the changes. Is it possible, to
> >> > > make
> >> the
> >> > > press of an ESC key save changes?
> >> > >
> >> > > I tried to remap the ESC key to [TAB][ESC], but that does not
seem
> >> to
> >> > > work.
> >> > > If not, is it possible to make the ESC key just not do anything?
> >> > >
> >> > > Mike
> >> > >
> >> >
> >> >
> >> >
>
--------------------------------------------------------------------------------
> >> >
> >> >
> >> > Hi all,
> >> >
> >> >
> >> >
> >> > I have a Variable Memo field in a form. If I change the data and
hit
> >> the tab
> >> > key, the changes are saved. But..my users are used to using Ver
6.5,
> >> where
> >> > hitting the ESC key would save the changes. In Version 7.6,
> >> > hitting
> >> the ESC
> >> > key "cancels/undoes" the changes. Is it possible, to make the
> >> > press
of
> >> an
> >> > ESC key save changes?
> >> >
> >> >
> >> >
> >> > I tried to remap the ESC key to [TAB][ESC], but that does not seem
to
> >> work.
> >> >
> >> > If not, is it possible to make the ESC key just not do anything?
> >> >
> >> >
> >> >
> >> > Mike
> >> >
> >> >
> >>
> >
> >
>
>
--------------------------------------------------------------------------------
Ahhhh......ok.....now that makes sense to me. I am using a dummy table, 1
column, 1 row just to support the creation of my variables. I now recall
running into this same problem before. Even when I tried to create the
"hidden sister variable" I had the same problem because the [ESC] key would
always abort my code before I could do the comparison. I think I might be
able to mess around with adding a table to the form, using a DB memo field
and then getting the variable from the added table. Or I might need some OS
executable to just disable the [ESC] key...or just hire employees that have
never used Rbase 6.5 so they won't be used to hitting the ESC key.
Do you think it would be reasonable to request an enhancement that would
allow us to enable/disable the ESC key within a control or a form?
Mike
-------------- Original message from "MikeB"
<[email protected]>: --------------
> Mike,
> It's not dependent on the control, it's at the form level. Now if you
are
> going to use Variable controls, you are going to have to set a second
> "sister" variable to hold the value of the variable mapped to the
> VariableEdit/Memo/etc control and check for differences between the
sister
> and the mapped variable in the OnExit EEP and then save your changes
> manually to the table. Totally unbound controls require a lot (did I say
a
> lot, I meant a LOT ) of work, but offer complete control over the UI if
you
> have the inclination to keep tweaking it, but if you are going to do
that
> stuff, then you might as well be programming in some other language and
> using Oterro...
>
>
> ----- Original Message -----
> From: "Michael J. Sinclair"
> To: "RBASE-L Mailing List"
> Sent: Saturday, October 31, 2009 2:59 PM
> Subject: [RBASE-L] - Re: Saving data with the ESC key, is it possible in
> Rbase 7.6?
>
>
> > heheh...I did understand that I need to use my own table name...but
> > thanks!
> > Before I put this one to bed....how do I enable the pop up to ask the
user
> > if they should save the changes? It looks to me like the DB memo has
that
> > option as the default, but the Variable Memo does not.
> >
> > Mike
> > PS: YMMV? Your Milage May Vary??
> > -------------- Original message from "MikeB"
> > : --------------
> >
> >
> >> Obviously or NOT, the IntCmd in the code is the name of my table.
YMMV.
> >> ----- Original Message -----
> >> From: "MikeB"
> >> To: "RBASE-L Mailing List"
> >> Sent: Saturday, October 31, 2009 2:51 PM
> >> Subject: [RBASE-L] - Re: Saving data with the ESC key, is it possible
in
> >> Rbase 7.6?
> >>
> >>
> >> > OK.. I put PROPERTY RBASE_FORM DONTSHOWSAVEDIALOG 'TRUE' in a test
form
> >> > and put the following in the onExit EEP and it saves the data.
> >> >
> >> > IF (LASTKEY(0)) = '[esc]' THEN
> >> > PROPERTY table IntCmd 'POST'
> >> > ENDIF
> >> > RETURN
> >> >
> >> > ----- Original Message -----
> >> > From: "MikeB"
> >> > To: "RBASE-L Mailing List"
> >> > Sent: Saturday, October 31, 2009 2:41 PM
> >> > Subject: [RBASE-L] - Re: Saving data with the ESC key, is it
possible
> >> > in
> >> > Rbase 7.6?
> >> >
> >> >
> >> >>I usually put a Pause 2 using '' in there for testing just to see
if it
> >> >>is
> >> >>firing. I take it you have disabled the default behavior of
requiring
> >> >>the
> >> >>user to answer yes/no to the save data dialog that pops up.
Wouldn't
> >> >>enabling that behavior solve the problem?
> >> >>
> >> >>
> >> >> ----- Original Message -----
> >> >> From: "Michael J. Sinclair"
> >> >> To: "RBASE-L Mailing List"
> >> >> Sent: Saturday, October 31, 2009 2:28 PM
> >> >> Subject: [RBASE-L] - Re: Saving data with the ESC key, is it
possible
> >> >> in
> >> >> Rbase 7.6?
> >> >>
> >> >>
> >> >>> Nope, that did not work for me...
> >> >>> Here is my code....
> >> >>>
> >> >>> SET V vlastkey = (LASTKEY(0))
> >> >>> IF vlastkey = '[ESC]' THEN
> >> >>> SKIP 0
> >> >>> ENDIF
> >> >>> RETURN
> >> >>>
> >> >>> When I trace it, it looks like the ESC key interupts the code
before
> >> >>> the
> >> >>> ON EXIT EEP ever gets a chance to run.
> >> >>> Mike
> >> >>> -------------- Original message from "MikeB"
> >> >>> : --------------
> >> >>>
> >> >>>
> >> >>>> Apples and Oranges. We didn't have a Memo control in 6.5.
> >> >>>>
> >> >>>> The behaviors of the 7.0 and up controls are windows controls
and
> >> >>>> you
> >> >>>> have
> >> >>>> to work with that in mind. Did you try trapping for the '[ESC]'
in
> >> >>>> the
> >> >>>> onEXIT eep using LastKey and see if SKIP 0 would solve it?
> >> >>>>
> >> >>>> Sometimes just trying the brute force method gets an answer
quicker
> >> >>>> than
> >> >>>> waiting for a reply from the list. I didn't try it, but that is
what
> >> >>>> I
> >> >>>> would do.
> >> >>>>
> >> >>>>
> >> >>>>
> >> >>>> ----- Original Message -----
> >> >>>> From: "Michael J. Sinclair"
> >> >>>> To: "RBASE-L Mailing List"
> >> >>>> Sent: Saturday, October 31, 2009 2:02 PM
> >> >>>> Subject: [RBASE-L] - Saving data with the ESC key, is it
possible in
> >> >>>> Rbase
> >> >>>> 7.6?
> >> >>>>
> >> >>>>
> >> >>>> > Hi all,
> >> >>>> >
> >> >>>> > I have a Variable Memo field in a form. If I change the data
and
> >> >>>> > hit
> >> >>>> > the
> >> >>>> > tab key, the changes are saved. But..my users are used to
using
> >> >>>> > Ver
> >> >>>> > 6.5,
> >> >>>> > where hitting the ESC key would save the changes. In Version
7.6,
> >> >>>> > hitting
> >> >>>> > the ESC key "cancels/undoes" the changes. Is it possible, to
make
> >> >>>> > the
> >> >>>> > press of an ESC key save changes?
> >> >>>> >
> >> >>>> > I tried to remap the ESC key to [TAB][ESC], but that does not
seem
> >> >>>> > to
> >> >>>> > work.
> >> >>>> > If not, is it possible to make the ESC key just not do
anything?
> >> >>>> >
> >> >>>> > Mike
> >> >>>> >
> >> >>>>
> >> >>>>
> >> >>>>
> >>
>
--------------------------------------------------------------------------------
> >> >>>>
> >> >>>>
> >> >>>> Hi all,
> >> >>>>
> >> >>>>
> >> >>>>
> >> >>>> I have a Variable Memo field in a form. If I change the data and
hit
> >> >>>> the tab
> >> >>>> key, the changes are saved. But..my users are used to using Ver
6.5,
> >> >>>> where
> >> >>>> hitting the ESC key would save the changes. In Version 7.6,
hitting
> >> >>>> the
> >> >>>> ESC
> >> >>>> key "cancels/undoes" the changes. Is it possible, to make the
press
> >> >>>> of
> >> >>>> an
> >> >>>> ESC key save changes?
> >> >>>>
> >> >>>>
> >> >>>>
> >> >>>> I tried to remap the ESC key to [TAB][ESC], but that does not
seem
> >> >>>> to
> >> >>>> work.
> >> >>>>
> >> >>>> If not, is it possible to make the ESC key just not do anything?
> >> >>>>
> >> >>>>
> >> >>>>
> >> >>>> Mike
> >> >>>>
> >> >>>>
> >> >>>
> >> >>
> >> >>
> >> >>
> >>
>
--------------------------------------------------------------------------------
> >> >>
> >> >>
> >> >> Nope, that did not work for me...
> >> >> Here is my code....
> >> >>
> >> >> SET V vlastkey = (LASTKEY(0))
> >> >> IF vlastkey = '[ESC]' THEN
> >> >> SKIP 0
> >> >> ENDIF
> >> >> RETURN
> >> >>
> >> >> When I trace it, it looks like the ESC key interupts the code
before
> >> >> the
> >> >> ON EXIT EEP ever gets a chance to run.
> >> >> Mike
> >> >> -------------- Original message from "MikeB"
> >> >> : --------------
> >> >>
> >> >>
> >> >> > Apples and Oranges. We didn't have a Memo control in 6.5.
> >> >> >
> >> >> > The behaviors of the 7.0 and up controls are windows controls
and
> >> >> > you
> >> >> have
> >> >> > to work with that in mind. Did you try trapping for the '[ESC]'
in
> >> >> > the
> >> >> > onEXIT eep using LastKey and see if SKIP 0 would solve it?
> >> >> >
> >> >> > Sometimes just trying the brute force method gets an answer
quicker
> >> >> than
> >> >> > waiting for a reply from the list. I didn't try it, but that is
what
> >> >> > I
> >> >> > would do.
> >> >> >
> >> >> >
> >> >> >
> >> >> > ----- Original Message -----
> >> >> > From: "Michael J. Sinclair"
> >> >> > To: "RBASE-L Mailing List"
> >> >> > Sent: Saturday, October 31, 2009 2:02 PM
> >> >> > Subject: [RBASE-L] - Saving data with the ESC key, is it
possible in
> >> >> Rbase
> >> >> > 7.6?
> >> >> >
> >> >> >
> >> >> > > Hi all,
> >> >> > >
> >> >> > > I have a Variable Memo field in a form. If I change the data
and
> >> >> > > hit
> >> >> the
> >> >> > > tab key, the changes are saved. But..my users are used to
using
> >> >> > > Ver
> >> >> 6.5,
> >> >> > > where hitting the ESC key would save the changes. In Version
7.6,
> >> >> hitting
> >> >> > > the ESC key "cancels/undoes" the changes. Is it possible, to
make
> >> >> the
> >> >> > > press of an ESC key save changes?
> >> >> > >
> >> >> > > I tried to remap the ESC key to [TAB][ESC], but that does not
seem
> >> >> to
> >> >> > > work.
> >> >> > > If not, is it possible to make the ESC key just not do
anything?
> >> >> > >
> >> >> > > Mike
> >> >> > >
> >> >> >
> >> >> >
> >> >> >
> >>
>
--------------------------------------------------------------------------------
> >> >> >
> >> >> >
> >> >> > Hi all,
> >> >> >
> >> >> >
> >> >> >
> >> >> > I have a Variable Memo field in a form. If I change the data and
hit
> >> >> the tab
> >> >> > key, the changes are saved. But..my users are used to using Ver
6.5,
> >> >> where
> >> >> > hitting the ESC key would save the changes. In Version 7.6,
hitting
> >> >> the ESC
> >> >> > key "cancels/undoes" the changes. Is it possible, to make the
press
> >> >> > of
> >> >> an
> >> >> > ESC key save changes?
> >> >> >
> >> >> >
> >> >> >
> >> >> > I tried to remap the ESC key to [TAB][ESC], but that does not
seem
> >> >> > to
> >> >> work.
> >> >> >
> >> >> > If not, is it possible to make the ESC key just not do anything?
> >> >> >
> >> >> >
> >> >> >
> >> >> > Mike
> >> >> >
> >> >> >
> >> >>
> >> >
> >> >
> >>
> >>
> >
>
>
>
--------------------------------------------------------------------------------
>
>
> heheh...I did understand that I need to use my own table name...but
thanks!
> Before I put this one to bed....how do I enable the pop up to ask the
user
> if they should save the changes? It looks to me like the DB memo has
that
> option as the default, but the Variable Memo does not.
>
> Mike
> PS: YMMV? Your Milage May Vary??
> -------------- Original message from "MikeB"
> : --------------
>
>
> > Obviously or NOT, the IntCmd in the code is the name of my table.
YMMV.
> > ----- Original Message -----
> > From: "MikeB"
> > To: "RBASE-L Mailing List"
> > Sent: Saturday, October 31, 2009 2:51 PM
> > Subject: [RBASE-L] - Re: Saving data with the ESC key, is it possible
in
> > Rbase 7.6?
> >
> >
> > > OK.. I put PROPERTY RBASE_FORM DONTSHOWSAVEDIALOG 'TRUE' in a test
> form
> > > and put the following in the onExit EEP and it saves the data.
> > >
> > > IF (LASTKEY(0)) = '[esc]' THEN
> > > PROPERTY table IntCmd 'POST'
> > > ENDIF
> > > RETURN
> > >
> > > ----- Original Message -----
> > > From: "MikeB"
> > > To: "RBASE-L Mailing List"
> > > Sent: Saturday, October 31, 2009 2:41 PM
> > > Subject: [RBASE-L] - Re: Saving data with the ESC key, is it
possible
> in
> > > Rbase 7.6?
> > >
> > >
> > >>I usually put a Pause 2 using '' in there for testing just to see if
> it is
> > >>firing. I take it you have disabled the default behavior of
requiring
> the
> > >>user to answer yes/no to the save data dialog that pops up. Wouldn't
> > >>enabling that behavior solve the problem?
> > >>
> > >>
> > >> ----- Original Message -----
> > >> From: "Michael J. Sinclair"
> > >> To: "RBASE-L Mailing List"
> > >> Sent: Saturday, October 31, 2009 2:28 PM
> > >> Subject: [RBASE-L] - Re: Saving data with the ESC key, is it
possible
> in
> > >> Rbase 7.6?
> > >>
> > >>
> > >>> Nope, that did not work for me...
> > >>> Here is my code....
> > >>>
> > >>> SET V vlastkey = (LASTKEY(0))
> > >>> IF vlastkey = '[ESC]' THEN
> > >>> SKIP 0
> > >>> ENDIF
> > >>> RETURN
> > >>>
> > >>> When I trace it, it looks like the ESC key interupts the code
before
> the
> > >>> ON EXIT EEP ever gets a chance to run.
> > >>> Mike
> > >>> -------------- Original message from "MikeB"
> > >>> : --------------
> > >>>
> > >>>
> > >>>> Apples and Oranges. We didn't have a Memo control in 6.5.
> > >>>>
> > >>>> The behaviors of the 7.0 and up controls are windows controls and
> you
> > >>>> have
> > >>>> to work with that in mind. Did you try trapping for the '[ESC]'
in
> the
> > >>>> onEXIT eep using LastKey and see if SKIP 0 would solve it?
> > >>>>
> > >>>> Sometimes just trying the brute force method gets an answer
quicker
> > >>>> than
> > >>>> waiting for a reply from the list. I didn't try it, but that is
> what I
> > >>>> would do.
> > >>>>
> > >>>>
> > >>>>
> > >>>> ----- Original Message -----
> > >>>> From: "Michael J. Sinclair"
> > >>>> To: "RBASE-L Mailing List"
> > >>>> Sent: Saturday, October 31, 2009 2:02 PM
> > >>>> Subject: [RBASE-L] - Saving data with the ESC key, is it possible
> in
> > >>>> Rbase
> > >>>> 7.6?
> > >>>>
> > >>>>
> > >>>> > Hi all,
> > >>>> >
> > >>>> > I have a Variable Memo field in a form. If I change the data
and
> hit
> > >>>> > the
> > >>>> > tab key, the changes are saved. But..my users are used to using
> Ver
> > >>>> > 6.5,
> > >>>> > where hitting the ESC key would save the changes. In Version
7.6,
> > >>>> > hitting
> > >>>> > the ESC key "cancels/undoes" the changes. Is it possible, to
make
> the
> > >>>> > press of an ESC key save changes?
> > >>>> >
> > >>>> > I tried to remap the ESC key to [TAB][ESC], but that does not
> seem to
> > >>>> > work.
> > >>>> > If not, is it possible to make the ESC key just not do
anything?
> > >>>> >
> > >>>> > Mike
> > >>>> >
> > >>>>
> > >>>>
> > >>>>
> >
>
--------------------------------------------------------------------------------
> > >>>>
> > >>>>
> > >>>> Hi all,
> > >>>>
> > >>>>
> > >>>>
> > >>>> I have a Variable Memo field in a form. If I change the data and
> hit
> > >>>> the tab
> > >>>> key, the changes are saved. But..my users are used to using Ver
> 6.5,
> > >>>> where
> > >>>> hitting the ESC key would save the changes. In Version 7.6,
hitting
> the
> > >>>> ESC
> > >>>> key "cancels/undoes" the changes. Is it possible, to make the
press
> of
> > >>>> an
> > >>>> ESC key save changes?
> > >>>>
> > >>>>
> > >>>>
> > >>>> I tried to remap the ESC key to [TAB][ESC], but that does not
seem
> to
> > >>>> work.
> > >>>>
> > >>>> If not, is it possible to make the ESC key just not do anything?
> > >>>>
> > >>>>
> > >>>>
> > >>>> Mike
> > >>>>
> > >>>>
> > >>>
> > >>
> > >>
> > >>
> >
>
--------------------------------------------------------------------------------
> > >>
> > >>
> > >> Nope, that did not work for me...
> > >> Here is my code....
> > >>
> > >> SET V vlastkey = (LASTKEY(0))
> > >> IF vlastkey = '[ESC]' THEN
> > >> SKIP 0
> > >> ENDIF
> > >> RETURN
> > >>
> > >> When I trace it, it looks like the ESC key interupts the code
before
> the
> > >> ON EXIT EEP ever gets a chance to run.
> > >> Mike
> > >> -------------- Original message from "MikeB"
> > >> : --------------
> > >>
> > >>
> > >> > Apples and Oranges. We didn't have a Memo control in 6.5.
> > >> >
> > >> > The behaviors of the 7.0 and up controls are windows controls and
> you
> > >> have
> > >> > to work with that in mind. Did you try trapping for the '[ESC]'
in
> the
> > >> > onEXIT eep using LastKey and see if SKIP 0 would solve it?
> > >> >
> > >> > Sometimes just trying the brute force method gets an answer
quicker
> > >> than
> > >> > waiting for a reply from the list. I didn't try it, but that is
> what I
> > >> > would do.
> > >> >
> > >> >
> > >> >
> > >> > ----- Original Message -----
> > >> > From: "Michael J. Sinclair"
> > >> > To: "RBASE-L Mailing List"
> > >> > Sent: Saturday, October 31, 2009 2:02 PM
> > >> > Subject: [RBASE-L] - Saving data with the ESC key, is it possible
> in
> > >> Rbase
> > >> > 7.6?
> > >> >
> > >> >
> > >> > > Hi all,
> > >> > >
> > >> > > I have a Variable Memo field in a form. If I change the data
and
> hit
> > >> the
> > >> > > tab key, the changes are saved. But..my users are used to using
> Ver
> > >> 6.5,
> > >> > > where hitting the ESC key would save the changes. In Version
7.6,
> > >> hitting
> > >> > > the ESC key "cancels/undoes" the changes. Is it possible, to
make
> > >> the
> > >> > > press of an ESC key save changes?
> > >> > >
> > >> > > I tried to remap the ESC key to [TAB][ESC], but that does not
> seem
> > >> to
> > >> > > work.
> > >> > > If not, is it possible to make the ESC key just not do
anything?
> > >> > >
> > >> > > Mike
> > >> > >
> > >> >
> > >> >
> > >> >
> >
>
--------------------------------------------------------------------------------
> > >> >
> > >> >
> > >> > Hi all,
> > >> >
> > >> >
> > >> >
> > >> > I have a Variable Memo field in a form. If I change the data and
> hit
> > >> the tab
> > >> > key, the changes are saved. But..my users are used to using Ver
> 6.5,
> > >> where
> > >> > hitting the ESC key would save the changes. In Version 7.6,
hitting
> > >> the ESC
> > >> > key "cancels/undoes" the changes. Is it possible, to make the
press
> of
> > >> an
> > >> > ESC key save changes?
> > >> >
> > >> >
> > >> >
> > >> > I tried to remap the ESC key to [TAB][ESC], but that does not
seem
> to
> > >> work.
> > >> >
> > >> > If not, is it possible to make the ESC key just not do anything?
> > >> >
> > >> >
> > >> >
> > >> > Mike
> > >> >
> > >> >
> > >>
> > >
> > >
> >
> >
>
>