Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 03:12

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

Advertisement



Autoit GUICreateEdit

Discussion on Autoit GUICreateEdit within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2008
Posts: 3
Received Thanks: 0
Post Autoit GUICreateEdit

Hey

Frage:
Ich möchte gerne ein Bestimmtes Wert den ich in "GUICtrlCreateEdit"
Eingebe an die tastatur senden z.B "***"

Und wenn ich "GUICtrlCreateButton" $Button1 drücke den soll der Wert
"***" gesendet

Code:

Code:
#include <GUIConstants.au3>

GUICreate("My GUI")
$Button1 = GUICtrlCreateButton( "wert", 225, 75 ,50 ,25,  $BS_ICON)
$Button2 = GUICtrlCreateEdit( "", 75, 78 ,60,20,  $BS_ICON)
GUISetState (@SW_SHOW)


While 1
	$msg = GUIGetMsg()
	
	If $msg = $GUI_EVENT_CLOSE Then ExitLoop
    If $msg= $Button1 then ....

Wend
starkalex is offline  
Old 04/13/2008, 11:23   #2
 
Hikkikomori's Avatar
 
elite*gold: 0
Join Date: Mar 2006
Posts: 495
Received Thanks: 205
#include <GUIConstants.au3>

GUICreate("My GUI")
$Button1 = GUICtrlCreateButton("wert", 225, 75, 50, 25, $BS_ICON)
$Button2 = GUICtrlCreateEdit("", 75, 78, 60, 20, $BS_ICON)
GUISetState(@SW_SHOW)


While 1
$msg = GUIGetMsg()

If $msg = $GUI_EVENT_CLOSE Then ExitLoop
If $msg = $Button1 Then
MsgBox(0, "", GUICtrlRead($Button2))
EndIf
WEnd



[code] tags funzen irgendwie nicht, der löscht dann automatisch nen paar wörter..
Hikkikomori is offline  
Reply




All times are GMT +1. The time now is 03:12.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.