Page 1 of 1

change the caption of a button

Posted: Thu Jun 09, 2022 10:01 am
by Silvio.Falconi
At the end of a procedure I try to change the caption of a button

the button are normal button class

oBtnCan:cCaption:="Chiudi"
oBtnCan:refresh()
oBtnCan:enable()

but not work
any solution please ?

Re: change the caption of a button

Posted: Thu Jun 09, 2022 1:20 pm
by FiveWiDi
Prueba esto:

oModi:setText( "Modificar" )

A mi en MDICHILD me funciona.