At 12:02 PM 5/9/2005, Jan Johansen wrote:
I'm talking about the 'X' in the upper right hand corner. It still shows in a pause 3.
Jan,
There is no such OPTION to disable the caption [x] button for any PAUSE or DIALOG buttons (at least in 7.1).
Along with many coool options available in 7.5, it would be nice to have the additional OPTION to control the display of Caption Button [x] in PAUSE and DIALOG commands.
Having said that, you can design a cute form (MyPauseForm) with the following Form Properties to achieve your goal:
Size: 420 x 220 Border Style: None Dynamic Caption: Disable [x] Caption Button
Then, place a variable memo object (vMyPauseFormMsg) to dynamically populate the message, on demand.
01. Use the MDI as 'aliasname' option to display the form 02. Continue the process accordingly 03. Use CLOSEWINDOW 'aliasname' option to close the form
Example:
CLS SET VAR vMyPauseFormMsg NOTE = 'Please stand by ...' EDIT USING MyPauseForm MDI AS 'PauseForm' -- Do what you have to do here ... CLOSEWINDOW 'PauseForm' CLEAR VAR RBTI_%, vMyPauseFormMsg CLS RETURN
Imagine the Possibilities!
Very Best R:egards,
Razzak.
