I put these lines to main program entrance, but no change. I declared a public variable as ModalOn = .f.. On each menu pad, I put skip for ModalOn. When I enter to a modal form, I do ModalOn = .t., and when unload event of the modal form, again ModalOn = .f.
With this way, I solved the problem but, I look for an easier way. Ali -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Pearson Sent: Tuesday, November 25, 2008 9:13 PM To: [EMAIL PROTECTED] Subject: RE: Modal form on Vista Could this be related: IF OS(3) = "6" DECLARE integer GdiSetBatchLimit IN WIN32API integer GdiSetBatchLimit(1) ENDIF There is an issue with popups not releasing the highlighting correctly. This is what works around it. I would need to build a test project, or if you have a small test project for others with Vista to test. Tracy -----Original Message----- From: Ali Ihsan Türkoglu Sent: Tuesday, November 25, 2008 1:30 PM My main program is: Do form mainform.scx Read Events **** Mainform.scx ShowWindow = 2 - As Top-Level Form WindowType = 0 - Modeless Init: Do MainMenu.mpr with this, .t. ******* MainMenu.mpr General Options: Checked as Top-Level Form When I call a modal form from MainMenu.mpr, I expect that all menu pads will be disabled as like past. But, they never be disabled. Ali -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Pearson Sent: Tuesday, November 25, 2008 4:22 PM To: [EMAIL PROTECTED] Subject: RE: Modal form on Vista Are you sure it's Modal? When you call the form, does your code continue to run, or does it stop? When a Form has DESKTOP=.T. or is Top-Level, the Modal state is turned off at instantiation. Tracy -----Original Message----- From: Ali Ihsan Türkoglu Sent: Monday, November 24, 2008 6:49 PM I have a main form (as top level form) and a main menu. When I call any modal form, I didn't activate the menu pads before. In Vista, all menu pads can be selected. Am I wrong? Ali [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

