CN105573725A - 一种基于数据库动态生成子窗口的技术 - Google Patents

一种基于数据库动态生成子窗口的技术 Download PDF

Info

Publication number
CN105573725A
CN105573725A CN201410531940.3A CN201410531940A CN105573725A CN 105573725 A CN105573725 A CN 105573725A CN 201410531940 A CN201410531940 A CN 201410531940A CN 105573725 A CN105573725 A CN 105573725A
Authority
CN
China
Prior art keywords
page
dynamically generating
sub
technology
database
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410531940.3A
Other languages
English (en)
Inventor
不公告发明人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZHENJIANG DINGTUO TECHNOLOGY INFORMATION Co Ltd
Original Assignee
ZHENJIANG DINGTUO TECHNOLOGY INFORMATION Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZHENJIANG DINGTUO TECHNOLOGY INFORMATION Co Ltd filed Critical ZHENJIANG DINGTUO TECHNOLOGY INFORMATION Co Ltd
Priority to CN201410531940.3A priority Critical patent/CN105573725A/zh
Publication of CN105573725A publication Critical patent/CN105573725A/zh
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

一种基于数据库动态生成子窗口的技术涉及一种动态生成FORM页面的方法,应用于利用DELPHI语言开发的应用程序,是针对其界面生成中实现所有子窗口FORM页面的一种法,其包括动态定义、TAB页面事件、及动态调用各页面技术。本发明的动态生成FORM页面的方法,实现了DELPHI应用程序方面的一种主子窗口的创新,其方法可适用于任何DELPHI语言开发的应用程序。

Description

一种基于数据库动态生成子窗口的技术
技术领域
本发明涉及计算机语言技术领域,尤其是在创建子窗体方面,能够动态生成多页面窗体,实际解决子窗体多页面显示的一种方法。
背景技术
传统的子窗体显示是单体显示在主窗口,但不能排列显示而且在窗体只能一次显示一个子窗体,在应用程序操作过程中不方便操作人员进行操作。
发明内容
本发明的目的在于利用DELPI语言本身的创建类功能,实现动态的子窗体附加在TAB页面中,主要解决了窗体在动态生成时,其属性及其事件在关闭窗体时能及时释放计算机内存,而再次显示是不再重新创建其无效的窗体。
为达到上述目点,本发明采用的方法是:通过动态创建子窗体、设置其属性、写入数据库及读取数据库中数据。
计算机首先动态创建FORM窗体,定义其窗体为所显示窗体类,其创建的窗体的句柄为TAB页句柄,设置其FORM窗体的显示属性为无窗休属生,设置其Parent属性为动态的TAB,设置显示的TAB的CAPTION容,设置其显示的ActivePageIndex的值,并把其值写入数据库中,以备重新谈取时直接显示其ActivePageIndex属性。
当操作人员关闭其动态创建的FORM的页面时,则需要释放其暂用的计算机内存,由于无法确定其释放的页面ActivePageIndex属性,则需要通过计算ActivePageIndex的值,通过循环读取其页中已有的FORM属性与需要关闭的属性进比较,如相等则关闭其页面并释放所占有的内存。

Claims (4)

1.一种动态生成FORM页面的方法,由其页面定义、页面调用、页面显示及TAB页的事件生成,其特征在于:
所述方法由其页面定义、页面调用、页面显示及TAB页事件组成。
2.页面定义,则由DEPHI语言创建动态的页面句柄,设置页面的属性及其事件。
3.根据权利要求2所述的方法,其特征在于:所述的动态创建的页面在于在主窗口显示所定义的子窗口页面,设置其属性。
4.根据权利要求3所定义,则动态调动窗口,并嵌入到主窗口中。
CN201410531940.3A 2014-10-11 2014-10-11 一种基于数据库动态生成子窗口的技术 Pending CN105573725A (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410531940.3A CN105573725A (zh) 2014-10-11 2014-10-11 一种基于数据库动态生成子窗口的技术

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410531940.3A CN105573725A (zh) 2014-10-11 2014-10-11 一种基于数据库动态生成子窗口的技术

Publications (1)

Publication Number Publication Date
CN105573725A true CN105573725A (zh) 2016-05-11

Family

ID=55883904

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410531940.3A Pending CN105573725A (zh) 2014-10-11 2014-10-11 一种基于数据库动态生成子窗口的技术

Country Status (1)

Country Link
CN (1) CN105573725A (zh)

Similar Documents

Publication Publication Date Title
WO2015147656A3 (en) Automatic process and system for software development kit for application programming interface
JP2015532991A5 (zh)
JP2014532935A5 (zh)
CN102236621A (zh) 计算机接口信息配置系统及方法
JP2005293578A5 (zh)
CN103116402B (zh) 具有语音控制功能的计算机系统以及语音控制方法
US20140340396A1 (en) Method of representing environment object in cyber-physical system using environment data model structure and computer-readable storage medium storing program therefor
CN104572781A (zh) 一种交易日志产生方法和装置
GB2547361A (en) System generator module for electronic document and electronic file
MY200899A (en) Permission Management And Resource Control Method And Apparatus
PH12017500227A1 (en) A system and method for security enhancement
CN103176802A (zh) 通过控件池实现系统的用户界面ui与控件库分离的方法
PH12018502498A1 (en) Image generation method and device
JP2016502219A5 (zh)
CN104077371A (zh) 监测数据库异常数据的方法及系统
CN102662962B (zh) 一种基于网页元素的动态展示方法
CN105573725A (zh) 一种基于数据库动态生成子窗口的技术
US20170109835A1 (en) Standard working hours management system
CN103246514A (zh) 基于云计算实现例外框架的方法
CN105045726A (zh) 一种基于并行计算的图片操作方法及系统
US8413085B2 (en) Digital netlist partitioning system for faster circuit reverse-engineering
CN205003656U (zh) 一种可重构硬件透明编程的操作系统
CN104063232B (zh) 一种基于数据库参数利用的系统开发的方法
CN104679573A (zh) 一种wpf和c++的交互方法
KR20140047453A (ko) 상태 토큰 페트리넷 모델을 기록한 컴퓨터로 읽을 수 있는 기록매체

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160511