Displaying Window In Center In Oracle Forms 6i
Posted ORACLE EBS
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Displaying Window In Center In Oracle Forms 6i相关的知识,希望对你有一定的参考价值。
Center window automatically in Oracle Forms 6i, use the following procedure by passing window name as parameter:
Example
PROCEDURE auto_centre (pwn in varchar2) IS
vw number := get_window_property(forms_mdi_window, width);
vh number := get_window_property(forms_mdi_window, height);
BEGIN
set_window_property(pwn, x_pos, (vw - get_window_property(pwn, width)) / 2);
set_window_property(pwn, y_pos, (vh - get_window_property(pwn, height)) / 2);
END;
Example
PROCEDURE auto_centre (pwn in varchar2) IS
vw number := get_window_property(forms_mdi_window, width);
vh number := get_window_property(forms_mdi_window, height);
BEGIN
set_window_property(pwn, x_pos, (vw - get_window_property(pwn, width)) / 2);
set_window_property(pwn, y_pos, (vh - get_window_property(pwn, height)) / 2);
END;
Ask Your Questions B
以上是关于Displaying Window In Center In Oracle Forms 6i的主要内容,如果未能解决你的问题,请参考以下文章
Displaying Tabbed and Stacked Canvas Using Show_View In Oracle Forms
MapServer Tutorial——MapServer7.2.1教程学习——第一节用例实践:Example1.3 Displaying Classes in a Layer
Displaying Your Views at Runtime
[RxJS] Displaying Initial Data with StartWith