YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

How to get and modify a Processbook Text Control Contents? Options · View
helloMan
#1 Posted : Tuesday, November 29, 2011 1:45:49 AM
Rank: Newbie
Groups: Member

Joined: 11/29/2011
Posts: 2
Location: Republic of Korea
Hi guys...

I'm working in C# and need to modify text Content in Properties

PBObjLib.Display disp = pbApplication.Displays.Open("...", false);
PBObjLib.Symbol sym =disp.Symbols.Item("//Control name");

Please help me..
Sponsor  
 

OSIsoft vCampus is a subscription-based, online offering that consists of providing everything people need to develop applications on the PI System.
We invite you to take a "tour" of the OSIsoft Virtual Campus - also feel free to consult the FAQ  or contact OSIsoft vCampus for more details.
helloMan
#2 Posted : Wednesday, November 30, 2011 4:15:07 AM
Rank: Newbie
Groups: Member

Joined: 11/29/2011
Posts: 2
Location: Republic of Korea
answer one's own question

PBObjLib.Display disp = pbApplication.Displays.Open("...", false);
//PBObjLib.Symbol sym =disp.Symbols.Item("//Control name"); ---Annotation
PBSymLib.Text t = (PBSymLib.Text)disp.Symbols.Item("//Control name");;
t.Contents="..";
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.