我在图片SpeedButton1放一个label,写文字想点击SpeedButton1的时候 不要被label挡住怎么实现呢?

解决方案 »

  1.   

    干吗用Label直接用它的Caption不行吗?
      

  2.   


    不好办,要是label有焦点就好了。
      

  3.   

    他应该是说,为什么不是用 SpeedButton 的 Caption 属性, 我也这样觉得
      

  4.   

    Caption不能居中啊,只能在上方,下方 ,左右
      

  5.   

    图省事,就用个三方控件,raise中的RzShapeButton
    或者直接用Button画图片
      

  6.   

    继承tspeedbutton,重写paint,里面自己drawtext或者canvas.textout
    想写哪儿写哪儿……