码迷,mamicode.com
首页 > 数据库 > 详细

Create Custom Modal Dialog Windows For User Input In Oracle Forms

时间:2016-12-25 18:02:21      阅读:408      评论:0      收藏:0      [点我收藏+]

标签:auto   block   div   font   form   nav   main   example   blog   

An example is given below to how to create a modal dialog window in Oracle Forms for asking user input and return the value to any text item.
 
The following is the screen shot of this demo and this form could be downloaded from the following link: Custom_diag.FMB
 
技术分享
 
This form is containing the following objects:
 
技术分享
 
You can see in above screen shot of object navigator that there are two data blocks, one is the Main and another is DIAG_BLOCK for dialog window purpose and also one more canvas FOR_MODAL_WIN created for modal window MODAL_DIALOG.
 
There are some special property settings for FOR_MODAL_WIN canvas and MODAL_DIALOG window object. Below are the screen shots of both object properties:
 
For Canvas:
技术分享
 
For Window:
技术分享
 
On clicking of the buttons just setting focus to the blocks by Go_Block statement, which you can see in the downloaded form Custom_Diag.fmb

Create Custom Modal Dialog Windows For User Input In Oracle Forms

标签:auto   block   div   font   form   nav   main   example   blog   

原文地址:http://www.cnblogs.com/quanweiru/p/6219898.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!