How to get Text Box Text

MagicDraw OpenAPI, scripting related questions and discussions

Moderator: Moderators

How to get Text Box Text

Postby TomA » Mon Feb 11, 2019 5:39 am

How can I get the text that is in a text box? PresentationElementsManager provides a method for setting the text, but I have not been able to find a way to get the text.
TomA
Forum Newbie
Forum Newbie
 
Posts: 2
Posts Rating:0
Joined: Mon Feb 11, 2019 5:33 am

Re: How to get Text Box Text

Postby TomA » Mon Feb 11, 2019 7:22 am

Also, I'm aware that you can get the text using the "getText()" method on the TextAreaView class owned by the TextBoxView, but both the TextAreaView class and the getText() method seem to be deprecated. This method works, but I still prefer to use a method that isn't deprecated.
TomA
Forum Newbie
Forum Newbie
 
Posts: 2
Posts Rating:0
Joined: Mon Feb 11, 2019 5:33 am


Return to Programmatic Extendibility

Who is online

Users browsing this forum: No registered users and 1 guest