Sign in to follow this  
Followers 0
au3scr

Buttons picture

5 posts in this topic

I tryed to use image on buttons but how i can lose that violet background?

How i change this violet color to background color

Posted Image

Sorry if here is bad english


Share this post


Link to post
Share on other sites

up, I need help on changeing violet to background color


Share this post


Link to post
Share on other sites

You can either:

*Change the background color with some image editor and cut the icons one by one

or

*Download some icon pack. Those are common icons and can be found easily.

Share this post


Link to post
Share on other sites

up, I need help on changeing violet to background color

You shouldn't get the violet colour if you have used icons for the images. Can you post an example of one of the images you have used?


Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites

I used picture above

#include <GUIConstants.au3>

#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 405, 62, 221, 225)
GUICtrlCreateButton("(Not allowed)", 8, 16, 377, 25, $BS_BITMAP)
GUICtrlSetImage(-1, "F:\Documents and Settings\rain\Desktop\buttons[1].bmp", 0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit

    EndSwitch
WEnd

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0