[Gambas-user] TextEdit, and missing Link event

Charlie Reinl Karl.Reinl at ...2345...
Fri Sep 9 12:53:40 CEST 2011


Am Sonntag, den 21.08.2011, 14:07 +0200 schrieb Benoît Minisini:
> > Am Mittwoch, den 03.08.2011, 00:03 +0200 schrieb Charlie Reinl:
> > > Am Dienstag, den 02.08.2011, 23:34 +0200 schrieb Benoît Minisini:
> > > > > Salut,
> > > > > 
> > > > > did not find in http://gambasdoc.org/help/doc/gb2togb3?v3 so I aks
> > > > > here, I move my project from gb2 to gb3.
> > > > > I used a TextEdit with very simple HTML and a href in, and the Link
> > > > > event to open it in the browser.
> > > > > Now gb3 TextEdit don't show my very simple HTML any more (test only)
> > > > > und has no Link event (the Link event was never in the
> > > > > documentation, even in gb2)
> > > > > 
> > > > > The TextLabel shows the simple HTML like it should be, but I don't
> > > > > find no Link event.
> > > > > 
> > > > > gambas3 rev 3956
> > > > > Mandriva 2010.2
> > > > > qt4 only (gtk not tested)
> > > > 
> > > > TextEdit does not have a Link event anymore in Gambas 3.
> > > 
> > > Salut,
> > > 
> > > so what is the replacement.
> > > What's happened for TextLabel ?
> > 
> > Salut Benoît,
> > 
> > I didn't find any answer till now, and also whats about the Link event
> > in TextLabel.
> 
> TextEdit and TextLabel do not have Link event, and there will be no 
> replacement.
> 
> Regards,
> 
Salut,

coming back once again with that. 
If you use hyperlink in TextLabel.Text  say: 
"<a href=\"http://gambas.sourceforge.net/en/main.html\">gambas</a>"
If you run, it is marked up as a link, the mouse cursor change if you
are passing over it and on right click a menu pops up with "Copy Link
Location" and you find after the link in the clipboard.

If you use hyperlink in TextEdit.RichText  say: 
"<a href=\"http://gambas.sourceforge.net/en/main.html\">gambas</a>"
If you run, it is just marked up as a link.

??
-- 
Amicalement
Charlie





More information about the User mailing list