Re: how do i exit pop up window without escaping
Posted in 1997
Stafford Wright wrote: > > I would be delirious if anyone could help me with the following: > > I am writing a menu system and am trying to use a display array > statement to write to a window using data from a menu table. The > problem is if the array is large then one would have use ones arrow > keys too extensively to get to the right option before being able to > hit escape. > > What I would like is some way that the display array could just > display the menu options and then exit out of the display without one > having to hit escape and the user could then enter a number option > manually outside the display.. > Your question is a little confusing, but... If you are trying to display just one screenful of items in an array, then exit and have the user type an option that would relate to one of those options, you can use the EXIT DISPLAY statement and then add a PROMPT or PROMPT FOR CHAR statement to prompt for an input. If you needs are more sophisticated, you can write code that will manually manage the array (there was some discussion about this recently), or use/purchase routines written by others (I believe Power4gl tools was mentioned). If I missed the mark, fill in some details and let me know. Tim