Resonation
New Member
Hi there, I am still kind of working on my problem of the suppressed window only now it is different. =) Ok here it goes. The primary program I run(A) has a two different buttons that call outside procedures. When I have run one first(B), it runs fine over and over. When I use the other one(C), it runs fine aswell. Though Once I have run C and closed it, B opens inside of my Appbuilders menu right over my menu icons.
The button code to Run C looks like this
DO:
ASSIGN v-x = {&WINDOW-NAME}:WIDTH
v-y = {&WINDOW-NAME}:HEIGHT.
RUN disable-main.
RUN PC\GET_SCRAP.w(input vars).
RUN enable-main.
RUN get-molded.
ASSIGN fill-scrapped = v-scrap.
DISPLAY fill-scrapped WITH FRAME default-frame.
END.
The code for B looks like this
DO:
HIDE MESSAGE.
ASSIGN c-win:HIDDEN = TRUE.
RUN pc\cardentry.w (input vars).
ASSIGN c-win:HIDDEN = FALSE.
HIDE MESSAGE.
IF fill-empno = 0 THEN RUN get-operator.
ELSE APPLY "entry" TO fill-qty IN FRAME default-frame.
RETURN NO-APPLY.
END.
When I take out C-win:hidden and false from code b the problem stops.
When I run C it says
"**Unable to set Y. Frame Default-frame does not fit in window widget.(4054)"
The problem looks like this.
as you can see C apears in my menu
Thanks in advance for any help anyone can give
Jon.
The button code to Run C looks like this
DO:
ASSIGN v-x = {&WINDOW-NAME}:WIDTH
v-y = {&WINDOW-NAME}:HEIGHT.
RUN disable-main.
RUN PC\GET_SCRAP.w(input vars).
RUN enable-main.
RUN get-molded.
ASSIGN fill-scrapped = v-scrap.
DISPLAY fill-scrapped WITH FRAME default-frame.
END.
The code for B looks like this
DO:
HIDE MESSAGE.
ASSIGN c-win:HIDDEN = TRUE.
RUN pc\cardentry.w (input vars).
ASSIGN c-win:HIDDEN = FALSE.
HIDE MESSAGE.
IF fill-empno = 0 THEN RUN get-operator.
ELSE APPLY "entry" TO fill-qty IN FRAME default-frame.
RETURN NO-APPLY.
END.
When I take out C-win:hidden and false from code b the problem stops.
When I run C it says
"**Unable to set Y. Frame Default-frame does not fit in window widget.(4054)"
The problem looks like this.
as you can see C apears in my menu
Thanks in advance for any help anyone can give
Jon.