Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 02:06

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



AutoIT Koda Form Designer

Discussion on AutoIT Koda Form Designer within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2011
Posts: 40
Received Thanks: 7
AutoIT Koda Form Designer

hi,

Ich habe eine Frage ich habe hier mal einen skript erstellt:

Quote:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>

#Region ### START Koda GUI section ### Form=
GUICreate("BildTest", 507, 397, 192, 124)
;erstellt ein GUI indem man das Bild sehen soll
$Button1 = GUICtrlCreateButton("Elitepvpers", 136, 40, 217, 41, 0)
;Erstellt einen Button
GUICtrlSetBkColor(-1, 0x008080)
;Farbe des Buttons
GUICtrlSetCursor (-1, 0)
;Finger als Cursor
GUICtrlCreatePic(@ScriptDir & "\Bild.jpg", 0, 0, 505, 393, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
;GUICtrlCreatePic ist der GUIbefehl für ein Bild. Mit @ScriptDir drückst du aus, dass das Bild in dem Ordner ist indem auch der Script bzw. nachher die .exe ist.
GUISetState(@SW_SHOW)

#EndRegion ### END Koda GUI section ###

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

Case $Button1
ShellExecute("http://www.elitepvpers.com")

EndSwitch
WEnd
wie kann ich das jetzt so machen das das bild.jpeg nichtüber die ganse form ist sondern nur an einer bestimmten stelle ist also zb. in einem button?
xXMetin2HacksXx is offline  
Old 02/20/2011, 10:11   #2
 
Flοw's Avatar
 
elite*gold: 0
Join Date: Nov 2010
Posts: 4,728
Received Thanks: 1,243
Du musst dem Bild die selbe "length" und "hight" wie dem Button zuordnen (manuell im Script, nicht in Koda)

Das nächste mal fragen bitte in die Autoit Sektion.
Flοw is offline  
Old 02/20/2011, 10:15   #3
 
banjo1's Avatar
 
elite*gold: 1371
Join Date: Dec 2007
Posts: 14,903
Received Thanks: 19,354
*moved
banjo1 is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[AutoIt]Koda Form Designer
09/19/2013 - AutoIt - 5 Replies
Hallo, ich habe mir AutoIt heruntergeladen, doch bei mir fehlt unter dem Register Tools das Programm Koda Form Designer.... Bitte helft mir, der der es weiß bekommt 5 thx!
[AutoIT]How to create a GUI ohne Koda Designer etc.
10/06/2010 - Coding Tutorials - 3 Replies
Hallo, jetzt zeige ich euch wie man eine GUI oder eine Form erstellt. Also, zuerst erstellen wir eine neue *.au3 Datei. So nun fangen wir an.... Zuerst, möchten wir das Fenster erstellen wo alle Buttons etc rein kommen sollen.... Dazu brauchen wir erstmal diesen Code : GuiCreate Danach folgt eine Klammer, wo die Werte reinkommen. In die Klammer kommen : Titel, Höhe, Breite, Position x, Position y. Also könnte der Code so aussehen : GUICreate("TITEL", 367, 202, 203, 123)



All times are GMT +1. The time now is 02:07.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.