ID: Q88970
2.00 MS-DOS kbprg kbfixlist kbbuglist
The information in this article applies to:
The cursor disappears when you are moving from a light-bar menu to a memo field edit session.
Microsoft has confirmed this to be a problem in Microsoft FoxPro version 2.0 for MS-DOS releases dated prior to November 15, 1991. This problem was corrected in the release of Microsoft FoxPro version 2.0 for MS-DOS dated November 15, 1991.
The following code uses the SALESMAN database in the TUTORIAL subdirectory to demonstrate a light-bar menu with an edit field. This type of coding is included for backward compatibility. Using the Menu Builder is recommended.
USE c:\foxpro2\tutorial\salesman
mquit=.T.
DO WHILE mquit=.T. && Keep the menu running.
@1,1 PROMPT "One" MESSAGE "Selection One"
@2,1 PROMPT "Two" MESSAGE "Selection Two"
MENU TO Myvar && Returns number 1 or 2.
DO CASE myvar
CASE myvar=1 && Prompt One(1).
@10,5 EDIT notes SIZE 5,50 ;
MESSAGE "CTRL+TAB to Exit Memo"
READ
CLEAR
CLEAR READ
CASE myvar=2 && Prompt Two(2).
CLEAR
CLEAR READ
mquit=.F.
EXIT && Leave DO WHILE loop.
OTHERWISE
WAIT "Press any key..."
ENDCASE
ENDDO
Additional reference words: FoxDos BugList2.00 FixList2.00 2.00
KBCategory: kbprg kbfixlist kbbuglist
KBSubcategory:
Solution Type : kbfix
Last Reviewed: September 22, 1997