dooodlez Posted September 16, 2011 Share Posted September 16, 2011 bu işe daha bu gün başladım. GUICreate yazdıktan sonra ayarlamaları yapıp butonların yerlerine bakmak için scripti açtığımda sayfa sadece bir kaç saniyeliğine gözüküyor. [code]#include <GUIConstantsEx.au3> $anasayfa = GUICreate ("OTO BASMA" , 350 , 200) $baslat = GUICtrlCreateButton ( "Başlat F7", 70, 20,100, 90 ) $durdur = GUICtrlCreateButton ( "Durdur F8", 70, 20 , 150 , 50) GUISetState (@SW_SHOW, $anasayfa)[/code] tuşların sayıları sadece deneme için böyle olmamış demeyin Quote Link to comment Share on other sites More sharing options...
SimpsoN_Bart Posted September 16, 2011 Share Posted September 16, 2011 Çalışmaması normal döngü yok bişe yok kodlar eksik biraz GUI Tasarımı için Koda Form Desinger Kullanmalısın. [codebox] Local $Form1 = GUICreate("OTO BASMA", 344, 189, 245, 124) Local $baslat = GUICtrlCreateButton(" Başlat F7", 24, 112, 121, 41) Local $durdur = GUICtrlCreateButton(" Durdur F7", 192, 111, 121, 41) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case -3 Exit EndSwitch WEnd [/codebox] Quote Link to comment Share on other sites More sharing options...
dooodlez Posted September 16, 2011 Author Share Posted September 16, 2011 [color="#FF0000"]Local[/color] $Form1 = bu local ne oluyor peki? Quote Link to comment Share on other sites More sharing options...
SimpsoN_Bart Posted September 16, 2011 Share Posted September 16, 2011 [font="Georgia"]Local, yerel değişken tanımlamada ve fonksiyonların için kullanırız...Değişkenlerin tanımlama seviyesi için kullandığımız kod diyebiliriz. Ayrıntılı bilgi için Help dosyasında Keyword Reference bölümüne bakınız.[/font] [b][font="Georgia"][size="2"] [/size][/font][/b] [b][font="Georgia"][size="2"] [/size][/font][/b] [b] [/b] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.