Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE
Alex_Castro Absent Member.
Absent Member.
297 views

Formatting Zip Code and Using Insert key in Dialog System

I am trying to do two simple tasks and I cannot find the answer in help topics. 

 

1) How can I format an entry field in Dialog Sytem to display a zip code with dashes. For example, I am trying to display the zip code 115308020 as 11530-8020. I am able to format amount fields and date fields but I cannot figure out zip code fields

 

2) Dialog Sytem comes with insert fields as INS1 and INS0. I am trying to give the user the ability to overwrite text on an entry field. For example, on most windows application, users simply hit the "insert" key on their keyboard in order to overwrite text as appose to appending text. But the help topics in Dialog System does not really provide information as to how to use their INS1 and INS0 functions in order to achieve this.

 

Thanks in advance for your help

0 Likes
2 Replies
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: Formatting Zip Code and Using Insert key in Dialog System

[quote user="Alex_Castro"]1) How can I format an entry field in Dialog Sytem to display a zip code with dashes. For example, I am trying to display the zip code 115308020 as 11530-8020. I am able to format amount fields and date fields but I cannot figure out zip code fields[/quote]

As far as I know, the only way to achieve this is to associate an alphanumeric field to the entry field and format the zip code from the COBOL program to have a dash.

[quote user="Alex_Castro"]2) Dialog Sytem comes with insert fields as INS1 and INS0. I am trying to give the user the ability to overwrite text on an entry field. For example, on most windows application, users simply hit the "insert" key on their keyboard in order to overwrite text as appose to appending text. But the help topics in Dialog System does not really provide information as to how to use their INS1 and INS0 functions in order to achieve this.[/quote]

INS1 and INS0 are events. INS1 is triggered when the Insert key is On, and INS0 is triggered when the Insert key is Off. However, there is no function to enable overwrite mode in Dialog System.

–Ғɑɳօ
0 Likes
Alex_Castro Absent Member.
Absent Member.

RE: Formatting Zip Code and Using Insert key in Dialog System

Okay, thanks for the response.
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.