HowTo : change the status from the pictureBox in FF

Started by Stephane Fonteyne, January 05, 2016, 06:12:40 AM

Previous topic - Next topic

Stephane Fonteyne

Paul,

How can I change the status of the picturebox?.

Example:

I have 6 pictureboxes (placeholders) within an picture "pic1" --> red.png and other picture green.png
If the user click on the button "Flip" then must change the picture from red to green and reverse when I release the button.
How can I do that in FF

Kind regards

Stephane Fonteyne
Ba. Elektronica - ICT
GSM : +32-xxxxxxxxxx
PowerBasic Developer & Hardware Support

Israel Vega Alvarez

In Firefly you can use FIREIMAGE control.

LOCAL GFILENAME AS STRING
GFILENAME="IMAGE.PNG"
SendMessage HWND_IMAGENES_FIREIMAGE1, %FIREIMAGE_SETIMAGENORMAL, %FIREIMAGE_LOADFILE, StrPtr(gFileName)
SendMessage HWND_IMAGENES_FIREIMAGE1,  %FIREIMAGE_SETFITSTYLE, 0, %TRUE