Garrett19212 Posted July 15, 2005 Posted July 15, 2005 $scanbutton = GUICtrlCreateButton ("Start Scan", 0, 0, 40,40,$BS_ICON) GUICtrlSetImage (-1, "data/images/scan.jpg") The image isn't showing up.
Valuater Posted July 15, 2005 Posted July 15, 2005 the location of the pic is like this "C:\data\images\scan.jpg" thus $scanbutton = GUICtrlCreateButton ("Start Scan", 0, 0, 40,40,$BS_ICON) GUICtrlSetImage (-1,"C:\data\images\scan.jpg") (not sure of your actual location) 8)
GaryFrost Posted July 15, 2005 Posted July 15, 2005 shouldn't that be a an icon file? or if $BS_BITMAP, then an bitmap file? SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
Garrett19212 Posted July 15, 2005 Author Posted July 15, 2005 $scanbutton = GUICtrlCreateButton ("Start Scan", 0, 0, 40,40,$BS_ICON) GUICtrlSetImage (-1, @SCRIPTDIR & "/data/images/scan.jpg") Didn't work, ill try what qafrost said.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now