DDS Conversion support for VLDCMDKEY

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
esdaled
Profound User
Posts: 72
Joined: Fri May 08, 2009 2:43 pm
First Name: David
Last Name: Esdale
Company Name: Guardian General Insurance
City: Port of Spain
State / Province: Outside Canada/USA
Country: Trinidad and Tobago
Location: Trinidad
Contact:

DDS Conversion support for VLDCMDKEY

Post by esdaled »

The DDS conversion seems to ignore the VLDCMDKEY keyword? Are there plans to support it?
User avatar
Alex
Profound Logic Staff Member
Posts: 233
Joined: Fri Jan 04, 2008 12:10 pm
First Name: Alex
Last Name: Roytman
Company Name: Profound Logic Software
Contact:

Re: DDS Conversion support for VLDCMDKEY

Post by Alex »

Support for this keyword will be available with version 2.1.4, which we plan to publish early next week.
esdaled
Profound User
Posts: 72
Joined: Fri May 08, 2009 2:43 pm
First Name: David
Last Name: Esdale
Company Name: Guardian General Insurance
City: Port of Spain
State / Province: Outside Canada/USA
Country: Trinidad and Tobago
Location: Trinidad
Contact:

Re: DDS Conversion support for VLDCMDKEY

Post by esdaled »

I have installed 2.1.4 and I see the valid command key property in the screen properties in the designer, but the named indicator is not being set *on in may RPG program when a function key is pressed.

Do I need to make a configuration change to the function key buttons that the DDS conversion creates?
User avatar
Alex
Profound Logic Staff Member
Posts: 233
Joined: Fri Jan 04, 2008 12:10 pm
First Name: Alex
Last Name: Roytman
Company Name: Profound Logic Software
Contact:

Re: DDS Conversion support for VLDCMDKEY

Post by Alex »

Was the display file reconverted after installing 2.1.4?
esdaled
Profound User
Posts: 72
Joined: Fri May 08, 2009 2:43 pm
First Name: David
Last Name: Esdale
Company Name: Guardian General Insurance
City: Port of Spain
State / Province: Outside Canada/USA
Country: Trinidad and Tobago
Location: Trinidad
Contact:

Re: DDS Conversion support for VLDCMDKEY

Post by esdaled »

Yes, the DSPF was reconverted after installing 2.1.4.

When looking at the display with the visual designer I can see in the screen properties for the subfile control record format that *IN26 is bound to "Valid Command Key" property. The is also code in the compile listing to set *in26 after the write.

puiHandler(QrnOpenAccess_T);
If QrnOpenAccess_T.rpgStatus <> 0;
PUIRunError('RNX' + %Char(QrnOpenAccess_T.rpgStatus):'KUN018':
'WRITE');
EndIf;
*IN01 = ind_KUN018.In_____01;
*IN03 = ind_KUN018.In_____03;
*IN12 = ind_KUN018.In_____12;
*IN26 = ind_KUN018.In_____26;

However, when I debug the job after pressing a function key (e.g. F12) ind_KUN018.In____26 is zero.
User avatar
Alex
Profound Logic Staff Member
Posts: 233
Joined: Fri Jan 04, 2008 12:10 pm
First Name: Alex
Last Name: Roytman
Company Name: Profound Logic Software
Contact:

Re: DDS Conversion support for VLDCMDKEY

Post by Alex »

Which browser did you use to convert the file? We have identified a problem with Google Chrome where the iteration order of JavaScript object properties does not match the insertion order.

This has a side effect of creating the "valid command key" indicator as an output indicator rather than a response indicator, and the value can never be set.

We are working on a Chrome workaround for the next release. In the mean time, can you try reconverting or just opening and resaving the display file with another browser like Internet Explorer or Firefox?
esdaled
Profound User
Posts: 72
Joined: Fri May 08, 2009 2:43 pm
First Name: David
Last Name: Esdale
Company Name: Guardian General Insurance
City: Port of Spain
State / Province: Outside Canada/USA
Country: Trinidad and Tobago
Location: Trinidad
Contact:

Re: DDS Conversion support for VLDCMDKEY

Post by esdaled »

Problem solved. I'm using Firefox, but it seems that the browser was caching the javascript from 2.1.3. I cleared the cache and reconverted the DSPF the screen now functions properly. thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests