CN102455896A - 一种动态生成子窗体页面的方法 - Google Patents
一种动态生成子窗体页面的方法 Download PDFInfo
- Publication number
- CN102455896A CN102455896A CN201010520589XA CN201010520589A CN102455896A CN 102455896 A CN102455896 A CN 102455896A CN 201010520589X A CN201010520589X A CN 201010520589XA CN 201010520589 A CN201010520589 A CN 201010520589A CN 102455896 A CN102455896 A CN 102455896A
- Authority
- CN
- China
- Prior art keywords
- page
- pages
- subform
- dynamically
- dynamically generating
- 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
Links
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 (2)
1.一种动态生成FORM页面的方法,由其页面定义、页面调用、页面显示及TAB页的事件生成,其特征在于:
所述方法由其页面定义、页面调用、页面显示及TAB页事件组成。
页面定义,则由DEPHI语言创建动态的页面句柄,设置页面的属性及其事件。
2.根据权利要求1所述的方法,其特征在于:所述的动态创建的页面在于在主窗口显示所定义的子窗口页面,设置其属性。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010520589XA CN102455896A (zh) | 2010-10-27 | 2010-10-27 | 一种动态生成子窗体页面的方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010520589XA CN102455896A (zh) | 2010-10-27 | 2010-10-27 | 一种动态生成子窗体页面的方法 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102455896A true CN102455896A (zh) | 2012-05-16 |
Family
ID=46039116
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010520589XA Pending CN102455896A (zh) | 2010-10-27 | 2010-10-27 | 一种动态生成子窗体页面的方法 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102455896A (zh) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1786902A (zh) * | 2004-12-09 | 2006-06-14 | 腾讯科技(深圳)有限公司 | 一种图形用户界面及其生成方法 |
US20080201646A1 (en) * | 2004-02-02 | 2008-08-21 | Cragun Brian J | Tab Order Mapping of User Interfaces |
-
2010
- 2010-10-27 CN CN201010520589XA patent/CN102455896A/zh active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080201646A1 (en) * | 2004-02-02 | 2008-08-21 | Cragun Brian J | Tab Order Mapping of User Interfaces |
CN1786902A (zh) * | 2004-12-09 | 2006-06-14 | 腾讯科技(深圳)有限公司 | 一种图形用户界面及其生成方法 |
Non-Patent Citations (1)
Title |
---|
李强 等: "《Delphi7程序设计实例导学》", 31 March 2003, article "多页面界面", pages: 180-189 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI718375B (zh) | 基於區塊鏈的資料處理方法及設備 | |
Knight | The future of multimodal corpora | |
Murphy | Labour migration and social development in contemporary China | |
BR0209092A (pt) | Método e sistema para relatar dados xml com base em contexto previamente computado e um modelo de objeto de documento | |
JP2004295897A5 (zh) | ||
Jenny et al. | The handbook of Austroasiatic languages (2 vols) | |
EP3543842A3 (en) | Application configuration file generation method and apparatus, application page display method and apparatus and storage medium | |
BR112013030043A2 (pt) | sistema de processamento de informações, método de gerenciamento de dados, dispositivo de processamento de informações e método de controle e programa de controle para o mesmo | |
BRPI0519005A2 (pt) | mÉtodo implementado por computador para modelar um produto, sistema de modelagem, e, meio de armazenamento | |
CN102455896A (zh) | 一种动态生成子窗体页面的方法 | |
Morganti et al. | Chitin and lignin waste in the circular economy | |
Meinhardt et al. | On the proper treatment of weak determinism: Subsequentiality and simultaneous application in phonological maps | |
CN105573725A (zh) | 一种基于数据库动态生成子窗口的技术 | |
CN102708468A (zh) | 个人财务管理系统 | |
Lee et al. | The crisis of welfare in East Asia | |
Attili et al. | Where strangers become neighbours. The story of the Collingwood Neighbourhood House and the integration of immigrants in Vancouver | |
Flynn et al. | Exhibitions: An Artistic Proposition to Reorder the Social | |
Cullet | Patchwork laws can’t solve India’s water crisis, Modi govt must push these 2 key bills now | |
Pozzoli | Escaping the Testimonial Voice: Gimmick Narration and Failure of Taʾlīf in Two Novels by Murtadā Gzār | |
Bates | A Thousand Shadows: American Government and the Civic State-Elisabeth S Clemens. Civic Gifts: Voluntarism and the Making of the American Nation-State. Chicago: University of Chicago Press, 2020. 425 pp. $35.00 (paper), ISBN 9780226670836. | |
Patil et al. | Privacy as impression management | |
Eidhof et al. | The Monad. Reader Issue 13 | |
CN104753875A (zh) | 一种基于sap idoc接口的数据传输方法 | |
Lyu et al. | Functional-Equivalent Approach in UNCITRAL Electronic Commerce Legislation | |
Zhang | Importance of Investing in Science to Increase development |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
DD01 | Delivery of document by public notice |
Addressee: Zhenjiang Huayang Information Technology Co.,Ltd. Document name: the First Notification of an Office Action |
|
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20120516 |