AzKay Posted July 5, 2006 Posted July 5, 2006 (edited) I tryed it, and all that happens, is the "button" has "(Not allowed)" or something Script #include <GUIConstants.au3> ; == GUI generated with Koda == $Form1 = GUICreate("AshwingRO", 609, 373, 191, 126) GUISetCursor (3) GUISetBkColor(0xFFFFFF) $Pic1 = GUICtrlCreatePic("C:\Documents and Settings\Asus\Desktop\Installer\RagnarokAshwingLeagueOnline.jpg", 0, 0, 609, 372, BitOR($SS_NOTIFY,$WS_GROUP,$WS_BORDER)) GUICtrlSetState(-1, $GUI_DISABLE) $Button1 = GUICtrlCreateButton("(Not allowed)", 216, 280, 196, 42, $BS_BITMAP) GUICtrlSetImage($Button1, "C:\Documents and Settings\Asus\Desktop\Installer\Button1.jpg") GUICtrlSetCursor ($Button1, 3) $Input1 = GUICtrlCreateInput("C:\Program Files\Gravity\RO\", 136, 328, 353, 21) GUICtrlSetFont(-1, 14, 800, 0, "Visitor TT2 (BRK)") GUICtrlSetBkColor(-1, 0xFFFFFF) GUICtrlCreateLabel("...", 232, 352, 157, 17, $SS_CENTER) GUICtrlSetFont(-1, 14, 800, 0, "Visitor TT2 (BRK)") GUICtrlSetBkColor(-1, 0xFFFFFF) GUISetState(@SW_SHOW) While 1 $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case Else ;;;;;;; EndSelect WEnd Exit Is it a bug? ( I Just downloaded the newest KODA ) Edited July 5, 2006 by AzKay # MY LOVE FOR YOU... IS LIKE A TRUCK- #
eynstyne Posted July 5, 2006 Posted July 5, 2006 No, Autoit can't use JPEGS or JPGs in it's buttons. It can however use Bitmaps or Gifs. F@m!ly Guy Fr33k! - Avatar speaks for itself__________________________________________________________________________________________ite quotes... - Is your refrigerator running? If it is, It probably runs like you...very homosexually - Christians don't believe in gravity - Geeze Brian where do you think you are, Payless?- Show me potato Salad!__________________________________________________________________________________________Programs available - Shutdown timer[indent][/indent]
AzKay Posted July 5, 2006 Author Posted July 5, 2006 No, Autoit can't use JPEGS or JPGs in it's buttons. It can however use Bitmaps or Gifs.Okie, thanks, Another problem, when I click the botton to put in the icon, (in the KODA) I click "load" and the window doesnt popup to choose >< # MY LOVE FOR YOU... IS LIKE A TRUCK- #
eynstyne Posted July 5, 2006 Posted July 5, 2006 Koda could be corrupted. You might need to redownload it again F@m!ly Guy Fr33k! - Avatar speaks for itself__________________________________________________________________________________________ite quotes... - Is your refrigerator running? If it is, It probably runs like you...very homosexually - Christians don't believe in gravity - Geeze Brian where do you think you are, Payless?- Show me potato Salad!__________________________________________________________________________________________Programs available - Shutdown timer[indent][/indent]
AzKay Posted July 5, 2006 Author Posted July 5, 2006 (edited) No, Autoit can't use JPEGS or JPGs in it's buttons. It can however use Bitmaps or Gifs.Ok, I tryed gif, still same problem, a plain button with "(Not allowed)" Edited July 5, 2006 by AzKay # MY LOVE FOR YOU... IS LIKE A TRUCK- #
AzKay Posted July 5, 2006 Author Posted July 5, 2006 Fixed, I looked at the site, under working controls, and it said, only works with bmp ^^ # MY LOVE FOR YOU... IS LIKE A TRUCK- #
Xenobiologist Posted July 5, 2006 Posted July 5, 2006 Hi, you could also use ico files with $BS_ICON. So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times
Neoborn Posted July 21, 2006 Posted July 21, 2006 No, Autoit can't use JPEGS or JPGs in it's buttons. It can however use Bitmaps or Gifs.Hello 2K6? Why not? ~Projects~1. iPod Ejector 1.0 - Tool Used To Eject iPod in Windows - Uses DevEject.exe :P2. SmartFTP Close Popup Tool - Closes reminders from freeware SmartFTP.~Helpful Links For New Users~1. LXP's Learning AutoIT PDF Guide - <<< Go here for a PDF Guide on learning AutoIT from the ground up!<<<2. AutoIt 1-2-3 <<<Want to learn more about AutoIT quickly? Go Here<<<3. How To Install The Beta And Production Versions Of AutoIT / SciteAutoIT
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