PDA

View Full Version : حرفه ای: انتقال فوكوس بر روي دوفرم در حالت pup up



nazanin_90
چهارشنبه 28 دی 1390, 13:32 عصر
با سلام
اگر دو فرم داشته باشيم كه خصوصيت pop up و modal هر دو در حالت true باشد چگونه ميتوانيم با كليك بر روي هر كدام از آنها فوكوس را به آنها منتقل نمائيم يا به عبارتي با كليك بر روي هر كدام ، آن فرم فرم فعال شود ؟
با تشكر

emami.sie
پنج شنبه 29 دی 1390, 09:42 صبح
با سلام
ببینید قابلیت Modal برای این طراحی شده که، تا این فرم بسته نشه ، نشه فوکوس رو به شیء دیگه ای منتقل کرد (و گرنه چه دلیلی برای انتخاب این خاصیت برای فرمه؟؟؟)
Help خود اکسس هم همین رو میگه...
You can use the Modal property to specify whether a form (form: An Access database object on which you place controls for taking actions or for entering, displaying, and editing data in fields.) or report opens as a modal (modal: A window or dialog box that requires the user to take some action before the focus can switch to another form or dialog box. Dialog boxes and messages are usually modal.) window. When a form or report opens as a modal window, you must close the window before you can move the focus (focus: The ability to receive user input through mouse or keyboard actions or the SetFocus method. Focus can be set by the user or by the application. The object that has focus is usually indicated by a highlighted caption or title bar.) to another object.
موفق باشید
یا علی