Re: [foxboro] BUTTON CLICK TO DISPLAY A TEXT

  • From: "Johnson, Alex P (IOM)" <Alex.Johnson@xxxxxxxxxxxx>
  • To: "foxboro@xxxxxxxxxxxxx" <foxboro@xxxxxxxxxxxxx>
  • Date: Wed, 20 Jun 2012 03:08:24 -0500

Create a text shared variable (init.user) or use one of the existing P1, P2, 
P3, etc.

Configure the graphic to clear the target text variable. (There's an option to 
create a set of embedded commands that are run when a graphic is raised. Do it 
there. = P1 "")

Configure the field on the graphic to read from the text variable 

Configure a pick point to open an overlay. On the overlay configure a data 
entry point to write to the text variable. Build "Confirm" and "Cancel" 
buttons. The "Confirm" button should use "getstr" (dmcmd getstr ; dmcmd close) 
to refresh the display and close the overlay. The "Cancel" button should set 
the text variable back to empty (= P1 ""; dmcmd close) and close the overlay.

B0193DF explains the commands and how to use init.user.


Regards,
 
Alex Johnson
Invensys Operations Management
10900 Equity Drive
Houston, TX 77041
+1 713 329 8472 (desk)
+1 713 329 1600 (operator)
+1 713 329 1700 (Central Fax)
alex.johnson@xxxxxxxxxxxx 


-----Original Message-----
From: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx] On 
Behalf Of RAKESH DASH
Sent: Wednesday, June 20, 2012 2:55 AM
To: foxboro@xxxxxxxxxxxxx
Subject: [foxboro] BUTTON CLICK TO DISPLAY A TEXT

Hi,
I want to give a button on the main screen.
When the user clicks on the button, a Tex box would pop up. He would enter
the text in the box.
After he says OK, The same text has to be displayed on the main screen.
Stuck here, please help..

Regards,
- Rakesh


 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             //www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 


*** Confidentiality Notice: This e-mail, including any associated or attached 
files, is intended solely for the individual or entity to which it is 
addressed. This e-mail is confidential and may well also be legally privileged. 
If you have received it in error, you are on notice of its status. Please 
notify the sender immediately by reply e-mail and then delete this message from 
your system. Please do not copy it or use it for any purposes, or disclose its 
contents to any other person. This email comes from a division of the Invensys 
Group, owned by Invensys plc, which is a company registered in England and 
Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 
7AW (Registered number 166023). For a list of European legal entities within 
the Invensys Group, please go to http://www.invensys.com/en/legal/default.aspx.

You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail 
reception@xxxxxxxxxxxxx This e-mail and any attachments thereto may be subject 
to the terms of any agreements between Invensys (and/or its subsidiaries and 
affiliates) and the recipient (and/or its subsidiaries and affiliates).


 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             //www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: