ugur4721 Posted January 31, 2014 Share Posted January 31, 2014 Arkadaşlar ben tasarladığım AIO da chekboxlara sağ tıklayınca bir menü çıkartmak istiyorum. Bunu nasıl yapabilirim 30 dakkadır bulamadım forumda örnek ya ben doğru arayamadım yada böyle bir örnek çalışma yok Quote Link to comment Share on other sites More sharing options...
garfield1 Posted January 31, 2014 Share Posted January 31, 2014 Application.ShowPopupMenu ile yapabilirsiniz. örneği help dosyasında var. ayrıca 30 dakika çok değil, haftalarca uğraştığımı hatırlarım bir şeyi bulmak için. Quote Link to comment Share on other sites More sharing options...
KintaRo Posted January 31, 2014 Share Posted January 31, 2014 CheckBox On right Click: tblMenu = {}; tblMenu[1] ={}; tblMenu[1].Text = "Menu 1"; tblMenu[1].ID = 100; tblMenu[1].IconID = 0; tblMenu[1].Checked = false; tblMenu[1].Enabled = true; tblMenu[1].SubMenu = {}; tblMenu[1].SubMenu[1] = {}; tblMenu[1].SubMenu[1].Text = "Alt Menu 1"; tblMenu[1].SubMenu[1].ID = 101; tblMenu[1].SubMenu[1].IconID = 1; tblMenu[1].SubMenu[1].Checked = false; tblMenu[1].SubMenu[1].Enabled = true; tblMenu[1].SubMenu[2] = {}; tblMenu[1].SubMenu[2].Text = "Alt Menu 2"; tblMenu[1].SubMenu[2].ID = 102; tblMenu[1].SubMenu[2].Checked = false; tblMenu[1].SubMenu[2].Enabled = true; nRes = Application.ShowPopupMenu(System.GetMousePosition(true, Application.GetWndHandle()).X, System.GetMousePosition(true, Application.GetWndHandle()).Y, tblMenu, TPM_LEFTALIGN, TPM_TOPALIGN, true, true); if nRes == 100 then Dialog.Message("", "Menu 1'e tıklandı") end 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.