Randy, thanks for your reply, please see my comments below yours:

Regards,
Alastair.

----- Original Message -----
From: "randyp" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 06, 2002 8:32 AM
Subject: Re: Edit Using & MDI forms


> Dear Alastair,
>
> The following code works for me:
> -- to bring up the form to enter note information
> ENTER USING enterNote MDI AT 375,290,740,520 AS noteEntry

Yes, this works from an EEP and was how I was doing it...

> -- to move the cursor to the field noteEntry in the noteForm
> SETFOCUS noteEntry

I didn't know you could use setfocus with a field rather than the form and
then a skip to - useful, thanks for that...

> One thing to remember is that in order to test or run an MDI
> form, you have to do it from ANOTHER form.  The above code
> is from something I call entNotes.eep.  It is called from a
> button on a form which allows entry of a variety of other
> information.

That's what I thought, but the syntax I "found" works direct from R:> or
app...

> The MDI option opens a new form while you are already
> running a form.  In order to test MDI forms, I created a
> blank form with only one button.  Use the button to run your
> program.  Here it would run a program called something like:
> entNotes.eep.  And entNotes.eep can be something simple
> like, 'ENTER USING enterNote MDI AT 375,290,740,520 AS
> noteEntry.'

I still can't jump between open forms, though, a shame but still trying...

> I guess from your message that you felt the syntax given was
> not accurate.  When used as explained above, it should work
> as documented.

Not really inaccurate, more incomplete, unfortunately...

> Try it again, and let me know how it works.
>
> Randy Peterson
>
> PS.  If you put the 'Enter USING enterNote MDI ...' in a
> case statement, I don't think it works.  The form flashes to
> the screen and returns.  But if you put a command in the
> case statement like "RUN entNotes.eep" which contains the
> command you would have put in the case statement, it
> works...  go figure.

There seems to be some differences between the way enter using and edit
using work. I'm not quite sure what they are but, if I work them out, I'll
post the details.

>
> ----- Original Message -----
> From: "Alastair Burr" <[EMAIL PROTECTED]>
> To: "R:Base ListServer" <[EMAIL PROTECTED]>
> Sent: Wednesday, December 04, 2002 6:18 AM
> Subject: Edit Using & MDI forms
>
>
> > I suppose everybody but me knew about this but just in
> case there's someone
> > else out there who's puzzled how to get an MDI form to
> work:
> >
> > By mistake, I re-read the R:Syntax for ENTER USING and
> discovered that
> > dropping the USING part of the command allows a MDI form
> to be shown. I
> > didn't know that.
> >
> > I had meant to check the EDIT USING syntax but when I
> corrected myself I saw
> > this:
> >
> > "In R:BASE for Windows "EDIT MDI formname AS alias" (my
> quotes) can be used
> > to start a form window that can later be accessed with a
> SETFOCUS command.
> > For more information, see the "SETFOCUS" entry."
> >
> > So I rushed to look at SETFOCUS but there's nothing to
> help (with edit
> > using) there...
> >
> > I started playing with the syntax and ended up with this:
> >
> > EDIT MDI ChristmasTracks AS ChristmasRecs +
> > ORDER BY DiscIDNum, TrackNumber +
> > AT 100, 100, 900, 490 +
> > CAPTION 'Christmas Records & Tracks' NOHEADER
> >
> > Which is quite different from the graphic syntax but
> you'll have guessed by
> > now that this works.
> >
> > Anybody like to confirm for me that this is the correct
> sequence of options?
> >
> > Please Razzak/RBTI, when R:Syntax next gets updated put an
> example of this
> > syntax option in!
> >
> > Regards,
> > Alastair.
> >
> > ----------------------------------
> > A D B Burr,
> > St. Albans, UK.
> > ----------------------------------
> > [EMAIL PROTECTED]
> > ----------------------------------

================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: INTRO rbase-l
================================================
TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: UNSUBSCRIBE rbase-l
================================================
TO SEARCH ARCHIVES:
http://www.mail-archive.com/rbase-l%40sonetmail.com/

Reply via email to