Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

**Unable to realize FRAME x outside of its parent. (4102)

Status
Not open for further replies.

thibault

Programmer
Sep 8, 1999
44
US
the code below generates the following error message:<br>
**Unable to realize FRAME x outside of its parent. (4102)<br>
<br>
i'm new at progress and have neither a clue what this means or how to look up the error number 4102. anybody out there know what it is that i'm doing wrong?:)<br>
<br>
<br>
DEFINE VARIABLE vfile AS CHARACTER FORMAT "X(30)".<br>
DEFINE VARIABLE ipi-number AS INTEGER.<br>
DEFINE VARIABLE vpi-number AS INTEGER.<br>
<br>
PROMPT-FOR ipi-number LABEL "Enter your PI number"<br>
WITH FRAME x WIDTH 65.<br>
<br>
SET vpi-number = INPUT FRAME x ipi-number. <br>
IF vpi-number &gt; 10 THEN<br>
DISPLAY STRING("PI number " + string(vpi-number) + " is too large.")<br>
FORMAT "X(45)"<br>
WITH FRAME x.<br>
<br>
PROMPT-FOR vfile LABEL "Enter the source file"<br>
WITH FRAME x SIDE-LABELS NO-BOX WIDTH 65 ROW 25.<br>
<br>
DISPLAY INPUT FRAME x vfile.
 
If you select the help menu in the procedure editor, there is an option called "recent messages" which when selected elaborates on the error message. In the case of your code you would get:<br>
<br>
**Unable to realize &lt;widget id&gt; outside of its parent. (4102)<br>
<br>
The frame's coordinates are completely outside its parent window. Check the FRAME and WINDOW definitions to make sure their coordinates are set to reasonable values.<br>
<br>
I hope this helps <br>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top