x_files_x Posted July 3, 2013 Share Posted July 3, 2013 (edited) 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 July 3, 2013 by x_files_x Quote Link to comment Share on other sites More sharing options...
x_files_x Posted July 3, 2013 Author Share Posted July 3, 2013 Yardımcı olacak birileri var mı acaba arkadaşlar Quote Link to comment Share on other sites More sharing options...
reyiz Posted July 3, 2013 Share Posted July 3, 2013 Class değerini almaya çalıştığınız program nedir? Quote Link to comment Share on other sites More sharing options...
x_files_x Posted July 3, 2013 Author Share Posted July 3, 2013 Ç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ü.. 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.