Remove Prompt (AREV Specific)
At 30 MAY 2005 02:12:00PM Aiden Massey wrote:
Removing prompt from the template, called from pre initialize. Deleted prompt from @record ok but how do I also delete the label?
At 31 MAY 2005 05:07AM [email protected] wrote:
How are you removing it? Since they are part of the same line, and you are in a pre-init, if I remember right, this is all part of @RECORD, so just killing the line should do it.
The Sprezzatura Group Web Site
World Leaders in all things RevSoft
At 31 MAY 2005 01:16PM Aiden Massey wrote:
Originally that's what I thought but labels are stored in compiled code after the prompts. Must be a way of removing prompts on the fly same as DICT changes if you are entering a symbolic, field position disappears and formula appears.
At 31 MAY 2005 01:35PM Aiden Massey wrote:
Label.image contains the labels I am trying to remove.
At 01 JUN 2005 04:48AM [email protected] wrote:
You could always use the code from this Revmedia article.
The Sprezzatura Group Web Site
World Leaders in all things RevSoft
At 01 JUN 2005 05:06AM [email protected] wrote:
Sorry about the bad link. Left in a trailing space. The actual article can be found at http://www.sprezzatura.com/revmedia/v1i2a3.htm
The Sprezzatura Group Web Site
World Leaders in all things RevSoft
At 02 JUN 2005 09:41AM Michael Slack wrote:
You might want to approach your label and prompt problem from a different angle. What has already been suggested is good but here is an idea for you. When you don't want the label\prompt to be displayed to the user, change the ENTRY TYPE to "P" (Protected). Just doing that will prevent the user from landing on it. You can go further and change the color so that the foreground and back ground color is black (assuming that you screen background color is black as well) thus making it invisible as well.
There have been posting on this subject in the last several months that may be of help.
Michael Slack
At 02 JUN 2005 03:44PM Aiden Massey wrote:
Redisplay list only redisplays the prompt data, not the label. Tried with setting prompt and prompt label to blue on blue. I am trying to hide prompts before the window displays.
As a temporary hack I hide the labels (in paint) and replace the prompt labels with symbolics with static text and hide label for the symbolics. On pre initialize change colour to blue on blue (background colour) and protect fields. One problem, symbolics replacing prompt labels only display text after read.
At 03 JUN 2005 04:26AM [email protected] wrote:
There's REDISPLAY.PROMPTS$, REDISPLAY.LIST$ and REDISPLAY.ALL$.
You might want to read the following articles:
Video Attributes in Advanced Revelation (TB#4)
The Function of WC_RESET% in Window Processing (TB#81)
You might also want to download the System Subroutine and Technical Bulletins application, if you haven't done so already.
Also, you might want to read the Uncommon Knowledge articles in Revmedia, especially the one on WC_Display_Action%. The topics are in alphabetical order.
The Sprezzatura Group Web Site
World Leaders in all things RevSoft
At 12 JUN 2005 12:14AM Aiden Massey wrote:
The exact solution I implemented.
Thanks all for the help.