Recent

Author Topic: Possible Bug or Known Behavior?  (Read 4196 times)

Joanna

  • Hero Member
  • *****
  • Posts: 1419
Re: Possible Bug or Known Behavior?
« Reply #15 on: July 18, 2025, 10:05:24 pm »
You can override the set caption method for button to check if it’s enabled
Hi Joanna, Would you mind demonstrating how to do this with a small code example? I have a general idea, but a snippet would really help clarify things. Thanks in advance!
I cannot post code here because I will be heckled.
Just make a descendant of tbutton and override the setcaption event.

Aruna

  • Hero Member
  • *****
  • Posts: 794
Re: Possible Bug or Known Behavior?
« Reply #16 on: July 19, 2025, 05:26:47 am »
You can override the set caption method for button to check if it’s enabled
Hi Joanna, Would you mind demonstrating how to do this with a small code example? I have a general idea, but a snippet would really help clarify things. Thanks in advance!
I cannot post code here because I will be heckled.
I feel the community will support you Joanna, not heckle you. But I absolutely understand where you are coming from so it is fine and no worries.

Just make a descendant of tbutton and override the setcaption event.
Alright I will try, many thanks for the guidance  :)

 

TinyPortal © 2005-2018