View Single Post
  #1  
Unread 02-24-2008, 01:06 AM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default <include> in a variable

Is is possible to use an <include> in a variable? I'm trying to save myself from a bunch of extra unnecessary code, but cannot figure out if this is possible.

Currently, if you wanted to include any kind of text, you'd put it in a Text object, and place the <include> between the <text></text> tags.

I'm looking to do something like this:

Code:
<Button fileText="<include>directory/file.txt</include>" property="blah" size="blah" OnPress="Page.Text=fileText">Click this button</Button>
Obviously with the quotes, all I get is plain text, and nothing included. I tried using &quot; and single quotes (no luck). Not too sure what else I could try offhand.

Wishful thinking?
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>
Reply With Quote