Dynamic changing of Window label not working... (AREV Specific)
At 26 NOV 1999 05:44:35PM Nitin wrote:
I created a Window using "PAINT " from the TCL box. I created a preprocess that checks if a permission flag is on/off. If the flag is off, I can change the color and protected property of the prompt, however I am unable to affect the label of the prompt. Is there a setting which I missed in the creation of the window? Thanks in advance.
At 30 NOV 1999 05:16AM Tony Lillyman wrote:
My understanding is that you need to alter the Common Variable
W()
W() contain the entire structure of the window, with field delimited values corresponding to the various attributes of each prompt.
in AREV 3.x see the LCPOSITIONS record in the SYSINCLUDE table
W(1) relates to the first prompt (in order)
W(1) is the Label of the prompt
to change you just set W(1)=Null (or whatever)
Lots of really cool stuff in there. It equates amazingly well to Set_Property and Get_Property in OI
Hope this helps
Tony
At 30 NOV 1999 11:55AM Nitin wrote:
Thanks for the advice Tony. I had been using LCPOSITIONS for guidance on how to access the properties of the prompts. I actually found #6 and not #5, i.e. W() is supposed to change the labels color value. Unfortunately it just hasn't been working, thus I think theres some sort of lock or permission which I haven't accessed for using this property. Which is too bad, I had some great ideas for integrating multiple menus in a single menu created at runtimeā¦.