Question how to get the another .p program's frame's handle and control it

sharkdim

Member
how to get the another .p program's frame's handle and control it

such as

===========
test.p

/*want to control frame a which is defined in testa.p, i know the frame name ,and want to disable the frame a's field ccc's entry*/
/*need the help....*/
run testa.p

================
testa.p
define temp-table abcd_test
fields bbb as character
fields ccc as character.

define frame a.
form
bbb ccc
with frame a centered overlay.
FOR EACH abcd_test:
UPDATE bbb ccc
WITH 1 DOWN 1 COLUMN CENTERED
EDITING:
DISPLAY "You are editing field:" FRAME-FIELD SKIP
"Of file:" FRAME-FILE SKIP
"Its value is:" FRAME-VALUE FORMAT "x(20)"
WITH FRAME b ROW 15 NO-LABELS CENTERED.
READKEY.
APPLY LASTKEY.
END. /* Editing */
END.[/code]
 

tamhas

ProgressTalk.com Sponsor
Having solved it, you might want to ask yourself why you are violating encapsulation in such a fashion.
 
Top