摘要
用FoxBase+中的@…PROMPT与MENUTO语句可在屏幕上实现(彩色)亮条菜单;并可用光标键进行菜单项的选择、用回车键选中井驱动相应的子程序。但是,有时有些菜单项是不应被选中的,这时就应该让这些菜单项进入“休眠”状态。另外,某些菜单项功能的运行中需要直接驱动另一菜单项的功能,这时采用内部驱动相应菜单项的方法将比直接调用该功能更合理。论述了这两种技术的优点及其实现方法。
Use @...PROMPT and MENU TO statement in FoxBase+, and we can establish a (color) bright menu in screen. From the menu, we can press cursor key to choice a menu item, and press ENTER to select it and run its route. But when some menu item should be disabled, we must let it into 'sleep' state. Additionally, if it is necessary to execute another function belonging to another menu item while a menu item's running, we refer to driving internally the corresponding menu item, rather than to running directly on its route. It is discussed the advantage of both the two techniques and their realization are discussed on the paper.
出处
《集美大学学报(自然科学版)》
CAS
北大核心
1997年第1期54-58,共5页
Journal of Jimei University:Natural Science