Openedge form - avoid the message Press space bar to continue

Status
Not open for further replies.
B

briddums

Guest
I'm writing a program to accept input from the user. I display some background text in a frame, then use an overlay frame to prompt for input. In my simple example below I get the message "Press space bar to continue" before the prompt-for is run.

What can I do do skip seeing that message?

/* Background */
def var dLines as char format "x(78)" extent 20 no-undo.

dLines[1] = "Password:".
dLines[2] = "".
dLines[3] = "Scan/key password".

form
dLines[1] skip
dLines[2] skip
dLines[3]
with frame fLabel no-labels no-box row 1 column 1 screen-io.

display
dLines[1]
dLines[2]
dLines[3]
with frame fLabel screen-io.


/* Prompt for data */
def var dString as char no-undo.

form
dString format "x(60)"
with frame cPrompt14 overlay no-labels no-box row 1 column 12 screen-io.

/*** This is where I get the "Press space bar to continue" message ***/
prompt-for
dString
with frame cPrompt14.

assign dString.

Continue reading...
 
Status
Not open for further replies.
Top