1]改变文本Caption

2]改变颜色字体Font

3]点击访问网址,OnClick事件

   3.1访问网址另一种简单办法


1]改变文本Caption

 unilabel1.Caption:='unilabel1文本';


2]改变颜色字体Font.不是直接改Color,而是 uniLabel1.Font.Color:= clRed;

UniGUI之UniLabel(31)


3]点击访问网址,OnClick事件

UniGUI之UniLabel(31)

UniSession.AddJS('window.open ('+'''https://www.cnblogs.com/tulater/p/5284897.html '''+', ''newwindow'')');

Chrome浏览器一定要打开 窗口弹出 允许


   3.1访问网址另一种简单办法。//来自 D:\Program Files\FMSoft\Framework\uniGUI\Demos\Desktop\AllFeaturesDemo   Form Controls/Labels

改两个属性

     1]TextConversion = txtHTML
     2]Caption =<a target="_blank" href="http://www.cnblogs.com/tulater">涂磊的小作</a>

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-31
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案