Jump to content

image and button with koda


Go to solution Solved by Andreik,

Recommended Posts

  • Solution
Posted (edited)

You can do something like this:

#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 598, 420, 192, 124)
$Pic1 = GUICtrlCreatePic("C:\Users\dede\Desktop\test.jpg", 0, 8, 617, 425)
GUICtrlSetState($Pic1, $GUI_DISABLE)
$Button1 = GUICtrlCreateButton("Button1", 400, 112, 113, 49)
$Button2 = GUICtrlCreateButton("Button2", 400, 176, 113, 57)
$Input1 = GUICtrlCreateInput("Input1", 32, 8, 521, 21)
$Input2 = GUICtrlCreateInput("Input2", 48, 360, 505, 21)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

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

Edit: by the way, use code tag when you want to post code instead of uploading the script.

Edited by Andreik

When the words fail... music speaks.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...