Jump to content

Sayfanın Gözükmemesi


dooodlez
 Share

Recommended Posts

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 :)

Link to comment
Share on other sites

Ç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]

Link to comment
Share on other sites

[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]

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...