Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!ns-mx!umaxc.weeg.uiowa.edu From: byock@umaxc.weeg.uiowa.edu (Bill Yock) Newsgroups: comp.databases Subject: Re: pull down menus with paradox Message-ID: <6236@ns-mx.uiowa.edu> Date: 28 May 91 20:48:27 GMT References: <1991May22.232716.27515@monu6.cc.monash.edu.au> Sender: news@ns-mx.uiowa.edu Lines: 26 From article <1991May22.232716.27515@monu6.cc.monash.edu.au>, by ede879g@monu6.cc.monash.edu.au (Robert D. Nicholson): > In paradox 3.5 how do you program pull down menus. > Such as in turbo c. > Using PAL. > The showmenu function is being used to display the highest level > menu. ie the top line. > When the down arrow key is pushed and a popmenu is activated to give > the pull down effect the highest level menu (showmenu) disappears > from the screen until the pop up menu is removed from the screen > This happens regardless of the position of the popup menu. > Some code that accomplishes this would be nice. When you say the popmenu is activated do you mean the setpopup routines in the Data Entry Toolkit? If I remember correctly those only paint a popup menu on the canvas. The Showmenu command displays a ring menu on the top two lines of the workspace. To paint the canvas with a copy of what's on the workspace before changing the canvas issue a ECHO FAST ECHO OFF command sequence. This allows canvas to be displayed with a copy of what's on the workspace such as tables and menus. On the BORDB forum of CompuServe you can find a file called DanDemo that contains examples of how to program pull down menus. -- Bill Yock, Weeg Computing Center, University of Iowa, Iowa City, Iowa 52242 byock@umaxc.weeg.uiowa.edu