Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 19 APR 2000 09:08:08AM Bob Silverstein wrote:

I am trying to update a symbolic and am getting nowhere. I have this chain of events.

1. A push button called MATERIAL_POPUP. Its event is a popup which returns a single value to 2.

2. An editline called MATERIAL. This receives the value from MATERIAL_POPUP without any trouble. This should then update 3.

3. An editline called X_MATERIAL has a symbolic which translates the two character value in MATERIAL to understandable text. (If I set the editline MATERIAL in that prompt, X_MATERIAL updates just fine.)

X_MATERIAL does not update when I start from the push botton. I have used CALCULATE and SEND_EVENT scripts from various quick events in these different fields and have gotten nowhere.

I could not find anything in searching the online discussion. I know a simple solution must exist and would appreciate any ideas.


At 19 APR 2000 10:40AM Don Miller - C3 Inc. wrote:

Per your post:

2. An editline called MATERIAL. This receives the value from

MATERIAL_POPUP without any trouble. This should then update 3.

3. An editline called X_MATERIAL has a symbolic which translates the two

character value in MATERIAL to understandable text. (If I set the

editline MATERIAL in that prompt, X_MATERIAL updates just fine.)

X_MATERIAL does not update when I start from the push botton. I have

used CALCULATE and SEND_EVENT scripts from various quick events in these different fields and have gotten nowhere.

***

My suspicion is that the Update of the Editline (MATERIAL) is not setting the DEFPROP property, but is perhaps setting the TEXT property. You could force this by doing the job yourself:

MAT=GET_PROPERTY(@WINDOW:".MATERIAL","DEFPROP")

* CALCULATE YOUR OWN SYMBOLIC

MDESC=XLATE("WHATEVER FILE",MAT,"DESCRIP","X")

NULL=SET_PROPERTY(@WINDOW:".X_MATERIAL","DEFPROP",MDESC)

RETURN 1


At 20 APR 2000 03:12PM Bob Silverstein wrote:

Worked like a charm the very first time. For anyone else's information, the script a "changed" quick event in the second control described in my original posting. And you do not need any script relating to the push botton control.

Don, many thanks.

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/176bc8adf82273c0852568c600482831.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1