Setting the XML

  • From: Jym Morton <jymmorton@xxxxxxxxx>
  • To: ftcdev@xxxxxxxxxxxxx
  • Date: Wed, 3 Aug 2011 14:09:26 -0400

I thought this would be simple, but I'm obviously missing something.

So that I can understand how to retrieve XML data could you please
demo what would go into the Action Event of button to display XML in
the FTC.  I have put the following onto a Window myFTC, TextArea and 2
buttons.  In the open event of the window I have cut and pasted the
Demo's Insert Custom Hyperlink so myFTC opens with a working
Hyperlink.

Button1 Action Event code :TextArea1.Text = myFTC1.getDoc.getXML
(this works because if I cut and paste that to a text editor and save
it as myFile.xml it opens in the demo with the hyperlink in tacked)

Button2 Action Event code: myFTC1.setXML(TextArea1.Text)
(this will only show any text I have typed into myFTC1 and nothing else)

What am I missing in Button2 Action event so words True North Software
appear (blue and underlined) AND when clicked on it opens the
hyperlink?


Jym Morton
Toronto, ON
FTC Website: http://www.truenorthsoftware.com/formattedtextcontrol
Set List Options (digest and vacation modes): www.freelists.org/list/ftcdev
List Archive: www.freelists.org/archives/ftcdev
Unsubscribe: Send email to ftcdev-request@xxxxxxxxxxxxx with "unsubscribe" in 
the subject field.



Other related posts: