FIX: ACTIVATE WINDOW NOSHOW & READ MODAL Won't Work w/ PopupLast reviewed: October 20, 1997Article ID: Q118490 |
2.50b 2.50c
MACINTOSH
kbprg kbfixlist kbbuglist
The information in this article applies to:
SYMPTOMSWhen an object, other than a popup, is defined in a window that has been activated with the NOSHOW clause, and then a READ MODAL command is executed, the window will automatically be displayed. However, if a popup is added to the window, the READ MODAL command will execute and terminate immediately.
RESOLUTIONThis behavior is easily corrected by adding an ACTIVATE WINDOW <window name> or SHOW WINDOW <window name> command after all the objects have been defined but before the READ MODAL command.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Visual FoxPro 3.0b for Macintosh.
MORE INFORMATION
Steps to Reproduce ProblemThe following code demonstrates the behavior described above:
testvar=1 DIMENSION testarray(3) testarray="" testarray(1)="item" DEFINE WINDOW wtest AT 1,1 SIZE 10,10 FLOAT CLOSE ACTIVATE WINDOW wtest NOSHOW @ 1,1 GET testvar PICTURE "@^" FROM testarray SIZE 1.5,8 DEFAULT 1 ; FONT "MS SANS SERIF",8 READ MODAL |
Additional reference words: FoxMac 2.50b 2.50c buglist2.50b buglist2.50c
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |