Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Add Image buttom in GUI

Author
Message
BlackCode
16
Years of Service
User Offline
Joined: 15th Feb 2010
Location:
Posted: 25th Feb 2010 15:11
Hi, how are you guys , i hope to find help in this Code !
i'm trying to put a image in the Buttom in "Blue" GUI , any one can help with Demo code ?????


butStop=createButton(169,50,75,25,"Stop",0,TrueFalse)

i heard some guys say i have to used this command
setButtonImage [handle gadget, str fileName]
but the problem i face it in : str fileName and the image type .
wildbill
20
Years of Service
User Offline
Joined: 14th Apr 2006
Location:
Posted: 25th Feb 2010 17:01
`Apply image to the button
setButtonImage btnID,image number

This works, I just tried it.

Login to post a reply

Server time is: 2026-07-28 19:07:23
Your offset time is: 2026-07-28 19:07:23