Re: [U2] SB: Character Mode Works Great, GUI Does Not

2013-08-11 Thread Martin Braid
Hi Al, GUI does not like a direct call to INVOKE.TEXT.ED in the screen itself 
at certain SB releases.
Create a new 1 line paragraph that just calls INVOKE.TEXT.ED and put that 
paragraph on the screen and regen.gui. Martin



-
Epicor Software (UK) is a limited company registered in England & Wales.
Registration Number: 2338274.   Registered Office:  6th Floor, One London Wall, 
London EC2Y 5EB
This e-mail and any attachments to it are confidential and is for the use of 
the intended recipient(s) only. If you have received this e-mail in error, 
please notify the sender immediately and then delete it. If you are not the 
intended recipient, you must not use, disclose or distribute this e-mail 
without the author's prior permission. We have taken precautions to minimize 
the risk of transmitting software viruses, but we advise you to carry out your 
own virus checks on any attachment to this message. We cannot accept liability 
for any loss or damage caused by software viruses. Any views and/or opinions 
expressed in this e-mail are of the author only and do not represent the views 
of Epicor Software (UK) Limited or any other company within its group.
-

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Al DeWitt
Sent: 09 August 2013 19:07
To: (u2-users@listserver.u2ug.org)
Subject: [U2] SB: Character Mode Works Great, GUI Does Not

I am creating a simple screen.  Two fields.  The Before Process in the 
Definition defines @KEY, reads @RECORD and loads @RECORD<6> into @WORK<1> which 
is displayed on the screen (lines of text).

@WORK<1> is a multivalue field.  The Before Process invokes the text editor.  
The user is allowed to manipulate text.

When the user presses F2 to exit the text editor and goes to the second field 
and the length of the MV field is displayed and if it is greater than 350 it 
displays an error and returns the user to the field to shorten it.  Once things 
are good it will write the new field to the file (WRITEV) and exit the screen.

Everything works in character mode.  The text field displays, etc.  However, it 
GUI the text field is blank.  REGEN.GUI does nothing to fix the problem.

Any ideas.

Albert DeWitt, CPIM


This message has been scanned for malware by Websense. www.websense.com
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] SB: Character Mode Works Great, GUI Does Not

2013-08-09 Thread Kevin King
Try setting @ACTION to 2 in addition to setting the @KEY and reading
@RECORD.  See if that helps..


On Fri, Aug 9, 2013 at 12:07 PM, Al DeWitt  wrote:

> I am creating a simple screen.  Two fields.  The Before Process in the
> Definition defines @KEY, reads @RECORD and loads @RECORD<6> into @WORK<1>
> which is displayed on the screen (lines of text).
>
> @WORK<1> is a multivalue field.  The Before Process invokes the text
> editior.  The user is allowed to manipulate text.
>
> When the user presses F2 to exit the text editor and goes to the second
> field and the length of the MV field is displayed and if it is greater than
> 350 it displays an error and returns the user to the field to shorten it.
>  Once things are good it will write the new field to the file (WRITEV) and
> exit the screen.
>
> Everything works in character mode.  The text field displays, etc.
>  However, it GUI the text field is blank.  REGEN.GUI does nothing to fix
> the problem.
>
> Any ideas.
>
> Albert DeWitt, CPIM
> ___
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users
>
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] SB: Character Mode Works Great, GUI Does Not

2013-08-09 Thread Al DeWitt
I am creating a simple screen.  Two fields.  The Before Process in the 
Definition defines @KEY, reads @RECORD and loads @RECORD<6> into @WORK<1> which 
is displayed on the screen (lines of text).

@WORK<1> is a multivalue field.  The Before Process invokes the text editior.  
The user is allowed to manipulate text.

When the user presses F2 to exit the text editor and goes to the second field 
and the length of the MV field is displayed and if it is greater than 350 it 
displays an error and returns the user to the field to shorten it.  Once things 
are good it will write the new field to the file (WRITEV) and exit the screen.

Everything works in character mode.  The text field displays, etc.  However, it 
GUI the text field is blank.  REGEN.GUI does nothing to fix the problem.

Any ideas.

Albert DeWitt, CPIM
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users