Dinkin Posted October 31, 2023 Share Posted October 31, 2023 Добрый день. Хочу создавать форму под курсором (эффект выпадающего меню). На сайте видел пример получения координатой курсора, но они встроены там в скрипт, как бы параметры оттуда вытащить? И как понял так просто нельзя указать координаты? TEditRoleForm *EditRoleForm = new TEditRoleForm(UniApplication); EditRoleForm->Top = ...?.; EditRoleForm->Left = ......?; EditRoleForm->Show(); Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 31, 2023 Share Posted October 31, 2023 Добрый, Вы можете использовать событие контекстного меню. Есть также демо пример. 1 Quote Link to comment Share on other sites More sharing options...
Dinkin Posted October 31, 2023 Author Share Posted October 31, 2023 У меня одна колонка содержит кнопки, хотел по нажатию кнопки). А тут только по нажатию правой кнопки🙄 Quote Link to comment Share on other sites More sharing options...
Dinkin Posted October 31, 2023 Author Share Posted October 31, 2023 Переделал все под контекст, спасибо. 1 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.