Jump to content

Gui'de Group Altında Kalan Nesnenin Au3 Infosu ?


x_files_x
 Share

Recommended Posts

Merhaba arkadaşlar bir kaç defa bişiyle karşılaştım ve çözümünü bulamadım, diyelimki elimizde  bir gui var, bu gui de butonlar var ve bunu gruplamışlar, grup eger butonun üstünde kalırsa au3 info butonların hepwsinede aynı bilgiyi veriyor, ve hatalı oluyor, acaba altta kalan bu butonların bilgisini nasıl alırız? örnek vereyim bir bakar mısınız ?

#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
Opt("GUIOnEventMode", 1)
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("TncTr", 233, 112, 192, 124)
GUISetOnEvent($GUI_EVENT_CLOSE, "Form1Close")
$Button1 = GUICtrlCreateButton("Buton 1", 40, 25, 139, 30)
GUICtrlSetOnEvent(-1, "Button1Click")

$Button2 = GUICtrlCreateButton("Buton 1", 40, 61, 139, 30)
GUICtrlSetOnEvent(-1, "Button2Click")

$Group1 = GUICtrlCreateGroup("Örnek", 8, 8, 209, 89)
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
	Sleep(100)
WEnd

Func Button1Click()
MsgBox(64,"Uyarı","Deneme1")
EndFunc

Func Button2Click()
MsgBox(64,"Uyarı","Deneme2")
EndFunc

Func Form1Close()
Exit
EndFunc
Edited by x_files_x
Link to comment
Share on other sites

Çalıştıgım kurumun programı, kolaylık olsun die controlclik fonksiyonlarını kullanmak istiyorum ama info da buton bilgileri yanlıs cıkıyordu, biraz araştırınca controlhide fonksiyonu ile grubu kaldırıp altta kalan butonları görebildim, sorun çözüldü..

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...