xml or other complete text representation of a control?
Phil Davis
davis.phil at comcast.net
Sat Feb 14 02:29:34 EST 2004
Isn't that pretty much what the SC-to-Rev converter does with SC projects?
One part of the process might look something like:
on convertControlToText
put the properties of control x into tProps
combine tProps with cr and "="
put tProps into url "file:control-x-props"
end convertControlToText
on convertTextToControl
put url "file:control-x-props" into tProps
split tProps with cr and "="
set the properties of the templateControl to tProps
create control
end convertTextToControl
The above is pseudocode - it won't work as is, and a lot is left out, but it
conveys the idea.
Phil Davis
> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Doug Lerner
> Sent: Friday, February 13, 2004 8:20 PM
> To: How to use Revolution
> Subject: xml or other complete text representation of a control?
>
>
> Is there some way of generating an xml or other complete text
> representation
> of a graphic or field or other control for writing to a file and then
> re-importing?
>
> doug
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list