首页 | 本学科首页   官方微博 | 高级检索  
     

动态生成用户自定义数据窗口的通用模块设计
引用本文:袁新辉. 动态生成用户自定义数据窗口的通用模块设计[J]. 电脑与信息技术, 2002, 10(4): 40-43
作者姓名:袁新辉
作者单位:中南大学财务处 湖南长沙410083
摘    要:PB的数据窗口为数据库应用程序的开发提供了功能强大且灵活的数据库接口,由于数据窗口画笔定义的内容有时不能满足用户的需求,需要根据用户的选择,动态生成满足要求的数据窗口。文章详细介绍了一种通用模块,它模拟数据窗口quick select模式,提供一个界面窗口,由用户自己来选择数据表、显示风格和检索条件等必需的参数,然后根据用户的选择动态创建用户自定义数据窗口对象的源代码。该模块生成的源代码可以作为create()函数的参数,并创建一个能满足用户检索要求的数据窗口对象。

关 键 词:PowerBuilder 数据库 应用程序 动态生成 用户自定义 数据窗口 通用模块 设计

The design of the general module of creating a userdefined dynamic datawindow
YUAN Xinhui. The design of the general module of creating a userdefined dynamic datawindow[J]. Computer and Information Technology, 2002, 10(4): 40-43
Authors:YUAN Xinhui
Affiliation:YUAN Xinhui
Abstract:PB's datawindow provides a powerful database interface for the database application system designers. Sometimes, the datawindow designed in the datawindow painter does not satisfy the user's requirements. Dynamic datawindow of the user's choice becomes necessary in this case. In this paper, a general module used to create an userdefined dynamic datawindow is introduced in detail. The module provides a userinterface window just as the datawindow's quickselect module. In this window, all the necessary parameters of the new userdefined datawindow such as the table, the display style and the retrieval conditions are defined by the user. The source codes of the userdefined datawindow are created by the module. By means of the function: create(), the codes can be used to create the new datawindow easily.
Keywords:dynamic datawindow  source code  general module  userdefined  PB
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号