TGTextButton and its value

Hi all,
I have to modify a program with a GUI interface, in particular the value of a button, it is a TGTextButton.
Is there a way to put the value of button always pushed?
Thank you
Ciccio

Hi Ciccio,

Use fButton->SetState(kButtonDown);
Cheers, Bertrand.

Hi Bertrand,

thak you very much for the answer, I will try.

Cheers
Ciccio

Hi Bertrand,

because my problem is to bypass the GUI interface of the program, I have to modify the macros so to simulate the selection of a button.
Is there a way to do this?
Thank you
Ciccio

Hi Ciccio,

Probably, but I can’t tell you more without the code…

Cheers, Bertrand.