Hi,
How do I do to change the image of the button?

Clemerson
How do I do to change the image of the button?

Clemerson

Clemerson,
oButtonBar:aControls[ 3 ]:FreeBitmaps()
oButtonBar:aControls[ 3 ]:LoadBitmaps( <cResName>,, [<cBmpFile>] )
oButtonBar:aControls[ 3 ]:Refresh()
Antonio Linares wrote:Clemerson,
oButtonBar:aControls[ 3 ]:FreeBitmaps()
oButtonBar:aControls[ 3 ]:LoadBitmaps( <cResName>,, [<cBmpFile>] )
oButtonBar:aControls[ 3 ]:Refresh()
Clemerson,
It looks like you have a button you want in an up or down state. I believe you can define two bitmaps when you define the button, then use the oBtn:toogle() to change the state of the button, and the bitmap will change automatically. I haven't tried this (or at least I don't remember if I have)
.
Check the manual for the syntax for defining two bitmaps.
James
thank you ...
Clemerson