[Gambas-user] Extracting text from the html of TextEdit control
richard terry
rterry at ...1822...
Thu Jan 3 22:44:12 CET 2008
Given that this is a qt control, is it just that the property has not been
exposed in Gambas?
I guess a workaround is possible but tedious - e.g stripping out all the html
code except text, doing something and re-constituting.
I've mucked around a bit with it and I can read keywords and use them to
trigger popping up something else like list or picture box with say diagrams
on it, select one, then post the html back to the control and embed the
picture - that's fairly easy, though obviously I cant re-retrieve the
embedded picture.
Hopefully someone else will know.
Problem is with this sort of stuff is thay it is effective a "show stopper",
ie if you can't do it, and your app needs a degree of sophistication, then it
is pointless proceeding.
Regards
Richard
> Le Thursday 03 January 2008 21:49:25 richard terry, vous avez écrit :
> > Is there a way to extract just the text you see in the control as opposed
> > to the total html:
> >
> > See the piccie, where I have typed one two three into the textedit
> > control
> >
> > the code mystring = textedit1.text, gives the resultant html, whereas I
> > want to be able to manipulate just the text, or use reading just the text
> > to do other things (like popup auto-complete, spell check, insert
> > diagrams etc).
> >
> > Any help appreciated.
> >
> > Richard
>
> This is true,
> For now there is just basic feature... Maybe you can find a workaround for
> that ...
>
> I don't know, but maybe these missing feature will be added in a future
> version...
>
> Fabien
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
More information about the User
mailing list