From: Ted C. <te...@Te...> - 2004-09-24 01:09:23
|
I've been working with PythonCards as a framework to develop a hyperCard-like application utilizing the "card stack" format that hyperCard popularized. In my version, I want each "card" to be a tiny HTML window, and the user can click on a radio button to switch between editing HTML code for the card (using the codeEditor component) and viewing the card (using the HtmlWindow component). The problem I'm having now is that the HtmlWindow.text field only seems to accept a filename or URL, but not literal text. I'd like to be able to say, e.g., HtmlWindow1.text = 'This is <b>sample</b> text' and have that displayed as HTML text in the window. Any chance the HtmlWindow component could be tweaked to allow that? /ted Ted Campbell te...@Te... |