12-08-2019 09:50 AM - edited 12-08-2019 09:53 AM
Hey,
I'm trying to make a command button change its image during EVENT_LEFT_CLICK
and change back to original at EVENT_LEFT_CLICK_UP
is there a way of doing so?
12-09-2019 02:53 AM
You can use
a) SetCtrlAttribute with the ATTR_IMAGE_FILE attribute or SetCtrlBitmap
b) a picture toggle button and call SetCtrlVal on EVENT_LEFT_CLICK_UP to make it spring back.
See Programming with Picture Button Controls.