Beginner HTMLText question
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Beginner HTMLText question
Hello,
I'm seeing if it makes sense to "port" a partly-completed iOS project to LiveCode.
A big part of the project is a LOT of HTML. I'm curious if I can use the "HTMLText" property for iOS and Android. The documentation says it's for OSX/Windows/Linux only.
Will it be supported on iOS/Android any time soon? Are there workarounds (other than launching the browser, which isn't acceptable)?
Thanks!
I'm seeing if it makes sense to "port" a partly-completed iOS project to LiveCode.
A big part of the project is a LOT of HTML. I'm curious if I can use the "HTMLText" property for iOS and Android. The documentation says it's for OSX/Windows/Linux only.
Will it be supported on iOS/Android any time soon? Are there workarounds (other than launching the browser, which isn't acceptable)?
Thanks!
Re: Beginner HTMLText question
htmltext is build into every field object, no matter the platform. However, it is not really html, but only a very small subset. If that is enough for what you need to do, then it will run on any platform that LC can deploy to.
Various teststacks and stuff:
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
Re: Beginner HTMLText question
Excellent, that's exactly what I need... thanks for the reply. Basically, I'm using bold text and paragraphs... and maybe bold-italics if I get really crazy 

Re: Beginner HTMLText question
Is there a place where this "small subset" is defined/listed? I need tables with definable borders (just the on/off or thickness, nothing fancy), cellpadding, and cell alignment. Are those supported, please?
sp27
sp27
Re: Beginner HTMLText question
sp27..
Look at' htmlText' in the dictionary...
be well
Dixie
Look at' htmlText' in the dictionary...
be well
Dixie
Beginner HTMLText question
Very disappointing, at least for my purposes. HTMLText is barely more than text styles. Has someone developed an add-on that would display a better subset of HTML tags in a field? User Guide says there is "a 3rd party library available that allows you to host a web browser within an object and control it by script." I've also seen references to a "web browser object" (based on WebKit, etc.) that allows the programmer to place a Web page in a LC card.
I am not looking for a full-featured browser to build into my cards, nor for a way to launch the user's browser.
I have a large database of texts in basic HTML format (including tables), and I need to display these texts in a card. Where should I look?
Any tips will be appreciated.
sp27
I am not looking for a full-featured browser to build into my cards, nor for a way to launch the user's browser.
I have a large database of texts in basic HTML format (including tables), and I need to display these texts in a card. Where should I look?
Any tips will be appreciated.
sp27
Re: Beginner HTMLText question
Hi sp27,
LiveCode for iOS supports a native "Browser control – UIWebView" on iOS that you can use and manage!
Check the "iOS Release Notes" (Menu: Help) for more info -> Browser control – UIWebView
Best
Klaus
LiveCode for iOS supports a native "Browser control – UIWebView" on iOS that you can use and manage!
Check the "iOS Release Notes" (Menu: Help) for more info -> Browser control – UIWebView
Best
Klaus
Re: Beginner HTMLText question
Anyone interested in a complete solution to displaying a full set of HTML tags please refer to my post called "something better than HTMLText of fileds, anyone?" in forum Using Externals and Plugins. Thanks,
sp27
sp27