Differenze tra le versioni di "Creare un collegamento ipertestuale"

Da Gambas-it.org - Wikipedia.
(Creata pagina con "Per creare un collegamento ipertestuale, è possibile adottare alcune modalità. ===Usare il Controllo "WebView"=== Puedes usar los objetos: Public Sub Form_Open() WebV...")
 
 
Riga 11: Riga 11:
  
 
===Usare il Controllo "URLLabel"===
 
===Usare il Controllo "URLLabel"===
 +
In questo caso è necessario attivare anche i Componenti ''gb.desktop'' e ''gb.desktop.x11''.
 
   With URLLabel1
 
   With URLLabel1
 
     .Link = "http::/gambaswiki.org/wiki"
 
     .Link = "http::/gambaswiki.org/wiki"
 
     .Text = "http::/gambaswiki.org/wiki"
 
     .Text = "http::/gambaswiki.org/wiki"
 
   End With
 
   End With

Versione attuale delle 16:19, 17 lug 2024

Per creare un collegamento ipertestuale, è possibile adottare alcune modalità.

Usare il Controllo "WebView"

Puedes usar los objetos:

Public Sub Form_Open()

  WebView1.Html = "<HTML><BODY>Questo è un collegamento ipertestuale al <A HREF='http:/foro.gambas-it.org'>Foro gambas-it.org</a></body></html>"

End


Usare il Controllo "URLLabel"

In questo caso è necessario attivare anche i Componenti gb.desktop e gb.desktop.x11.

  With URLLabel1
    .Link = "http::/gambaswiki.org/wiki"
    .Text = "http::/gambaswiki.org/wiki"
  End With