hamid Posted May 7, 2006 Posted May 7, 2006 in my mdi application i have some forms and i set define KeyDown event for my mainform that when user press Alt+c my calculator form come up. i want that if user focused on a textbox in a form and press Alt+c my caculator find its textbox value and get its value. it's meen that i want found last control after Alt+c pressed. thanks Quote [ once4ever ]
Administrators PlausiblyDamp Posted May 7, 2006 Administrators Posted May 7, 2006 You can always get the current form by using the ActiveForm property of the MDI container. Also you can get the current control via the ActiveControl property of a form. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
hamid Posted May 8, 2006 Author Posted May 8, 2006 You can always get the current form by using the ActiveForm property of the MDI container. i can't find this property in my MDI form properties?! this. (and there isn't this propertie here) Quote [ once4ever ]
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.