UPDATE! The community will be go into read-only on April 19, 8am Pacific in preparation for migration on April 21. Read more.
UPDATE! The community will be go into read-only on April 19, 8am Pacific in preparation for migration on April 21.Read more.
Cadet 2nd Class Cadet 2nd Class
Cadet 2nd Class
85 views

LABELS proporties (NO-KEY-LETTER)

Jump to solution

Hi

This feature will disable the underscore for a label when using an '&'.

Is there an environmental configuration for this, instead of changing all programs to add this properties (NO-KEY-LETTER) to the labels. I have looked, but just I case I missed it.

 

Thanks!!

Dennis

0 Likes
1 Solution

Accepted Solutions
Micro Focus Expert
Micro Focus Expert

There isn't an environment or runtime configuration variable to provide what you are looking for. I would think you'd want to keep most of the shortcuts that & provides, the ones where you want to keep the & versus having a shortcut using && seems the quickest fix.

View solution in original post

0 Likes
3 Replies
Micro Focus Expert
Micro Focus Expert

I'm not sure I understand the question - do you want to keep the & symbol. If so there are 2 ways to do it. Use the NO-KEY_LETTER style or put in 2 && symbols in the title, see below:

03 Screen1-La-1, Label, COL 10.60, LINE 3.10, LINES 2.20 CELLS, SIZE 12.30 CELLS,
ID IS 1, LABEL-OFFSET 0, TITLE "AT&T", NO-KEY-LETTER.

03 Screen1-La-1a, Label, COL 10.70, LINE 7.30, LINES 2.20 CELLS, SIZE 12.30 CELLS,
ID IS 3, LABEL-OFFSET 0, TITLE "AT&&T".

0 Likes
Cadet 2nd Class Cadet 2nd Class
Cadet 2nd Class
Hi shjerpe,

Sorry for the confusion, we want to keep the '&'.
Lets say we have and supplier name 'T&T', when we try to display this information on the screen as a label we see lose the ''&' and the letter get underscored.
We can add the property (NO-KEY-LETTER) to keep the '&', but do not want to change all programs to add the property.
Just is wondering if there was a environmental variable (something global) that we can use so that we do not have to change the coding.
Thanks!!
0 Likes
Micro Focus Expert
Micro Focus Expert

There isn't an environment or runtime configuration variable to provide what you are looking for. I would think you'd want to keep most of the shortcuts that & provides, the ones where you want to keep the & versus having a shortcut using && seems the quickest fix.

View solution in original post

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.