FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour change the caption of a button
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
change the caption of a button
Posted: Thu Jun 09, 2022 10:01 AM

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 ?

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 1445
Joined: Mon Oct 10, 2005 02:38 PM
Re: change the caption of a button
Posted: Thu Jun 09, 2022 01:20 PM

Prueba esto:

oModi:setText( "Modificar" )

A mi en MDICHILD me funciona.

Un Saludo

Carlos G.



FiveWin 25.12 + Harbour 3.2.0dev (r2502110321), BCC 7.7 Windows 11 Home

Continue the discussion