I want to say that this is common to windows 7 with other applications as 
well. As I write this email, my windows gadgets are on top of this form. I 
have this form maximized.

In this particular form I ask the user many questions. I am going to embed 
them in the form as much as possible to minimize the pause and dialog boxes.

Dan Goldberg

-----Original Message----- 
From: A. Razzak Memon
Sent: Wednesday, May 02, 2012 2:08 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: pause dialog boxes going behind form

At 04:39 PM 5/2/2012, Stephen Markson wrote:

>... but I believe the form will open on top of the PAUSE box before
>doing the query.
>That's OK though because the PAUSE box can be moved to the side
>while the form loads.


Here's a slick method which you can adapt to achieve the desired
result, if you wish.

Three Steps:

01. Define the PAUSE 3 options as "On Before Start" EEP, such as:

     -- On Before Start EEP
     CLS
     PAUSE 3 USING 'Preparing ListView Data ... Please Wait ...' +
     CAPTION ' Customer Master List' ICON INFO +
     OPTION MESSAGE_FONT_NAME Tahoma +
     |MESSAGE_FONT_COLOR NAVY +
     |MESSAGE_FONT_SIZE 11 +
     |THEMENAME Longhorn
     RETURN

02. Define the following code as "On After Start" EEP:

     -- On After Start EEP
     PROPERTY ListViewCompID SET_FOCUS 'TRUE'
     PROPERTY ListViewCompID MAKECLICK 0
     RETURN

     -- Do NOT use the CLS as on After Start EEP

03. Define the following code as "On Click" EEP for ListView control:

     -- ListView On Click EEP
     CLS
     RETURN

So, here's the sequence of events:

01. On Before Start EEP (Step 01) will be executed as soon as the EDIT USING
     formname command is issued. The PAUSE message will be displayed while
     the "huge" data set is being loaded in the ListView based on WHERE 
clause,
     etc,.

02. Once the data set is loaded successfully, the "On After Start" EEP will
     be executed which will click on the first row in the list.

     PAUSE Command will remain intact until the 3rd step.

03. On Click EEP for the ListView will clear the PAUSE 3 message 
accordingly.

A totally automated and dynamic solution to achieve your goal.

Have fun!

Very Best R:egards,

Razzak.

www.rbase.com
www.facebook.com/rbase

--- 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.
================================================


Reply via email to