canavar123 Posted July 28, 2014 Share Posted July 28, 2014 (edited) Arkadaşlar ben bir program oluşturuyorum ve bu programda bir button a basıldığında bir menü açılmasını ve o menüden hangisi açıldıysa ona görev atamak istiyorum bunu nasıl yapabilirim kodları verirmisiniz Edited July 28, 2014 by canavar123 Quote Link to comment Share on other sites More sharing options...
bariza Posted July 30, 2014 Share Posted July 30, 2014 http://www.gulfup.com/?9uq6k0 Quote Link to comment Share on other sites More sharing options...
canavar123 Posted August 9, 2014 Author Share Posted August 9, 2014 [quote name="bariza" post="1462669" timestamp="1406724341"][b][size=3][url="http://www.gulfup.com/?9uq6k0"]http://www.gulfup.com/?9uq6k0[/url][/size][/b][/quote] Plugin hatası veriyor kodları yazsan Quote Link to comment Share on other sites More sharing options...
canavar123 Posted August 12, 2014 Author Share Posted August 12, 2014 AMS ciler nerde:( Quote Link to comment Share on other sites More sharing options...
nightmare3519 Posted August 12, 2014 Share Posted August 12, 2014 Button click evresine : tMenu = {}; tMenu[1] ={}; tMenu[1].Text = "Menu 1"; tMenu[1].ID = 100; tMenu[1].IconID = 15; tMenu[1].Checked = false; tMenu[1].Enabled = true; tMenu[2] ={}; tMenu[2].Text = "Menu 2"; tMenu[2].ID = 101; tMenu[2].IconID = 1; tMenu[2].Checked = false; tMenu[2].Enabled = true; nMenu = Application.ShowPopupMenu(System.GetMousePosition(true, Application.GetWndHandle()).X, System.GetMousePosition(true, Application.GetWndHandle()).Y, tMenu, TPM_LEFTALIGN, TPM_TOPALIGN, true, true) if nMenu == 100 then -- menu 1 seçilince çalışacak kodlar elseif nMenu == 101 then -- menu 2 seçilince çalışacak kodlar kodlarını ekleyin. Quote Link to comment Share on other sites More sharing options...
canavar123 Posted August 13, 2014 Author Share Posted August 13, 2014 [quote name="nightmare3519" post="1471188" timestamp="1407879544"]Button click evresine : tMenu = {}; tMenu[1] ={}; tMenu[1].Text = "Menu 1"; tMenu[1].ID = 100; tMenu[1].IconID = 15; tMenu[1].Checked = false; tMenu[1].Enabled = true; tMenu[2] ={}; tMenu[2].Text = "Menu 2"; tMenu[2].ID = 101; tMenu[2].IconID = 1; tMenu[2].Checked = false; tMenu[2].Enabled = true; nMenu = Application.ShowPopupMenu(System.GetMousePosition(true, Application.GetWndHandle()).X, System.GetMousePosition(true, Application.GetWndHandle()).Y, tMenu, TPM_LEFTALIGN, TPM_TOPALIGN, true, true) if nMenu == 100 then -- menu 1 seçilince çalışacak kodlar elseif nMenu == 101 then -- menu 2 seçilince çalışacak kodlar kodlarını ekleyin.[/quote] Pc servisten gelince deneyeceğim teşekkürler Tapatalkta kodlar öyle saçma görünüyorki görsen hiçbirşey anlamazsın :P chrome dan açınca bambaşka ;) 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.