Solved

Window size

Posted on 1999-01-25
2
1,357 Views
Last Modified: 2012-05-04
I would like to make my forms window smaller since my form is rather small. It would look moore nice if the window is the same size as the form. I run forms 4.5.9.7.0,Oracle 7 in NT.
 
0
Comment
Question by:annkal
2 Comments
 
LVL 34

Accepted Solution

by:
Mark Geerlings earned 200 total points
Comment Utility
Here are the two commands I use in the when-new-form-instance trigger of the first form called in our application (that form functions as the main menu and remains in the background as long as the user is in the application):
  set_window_property(FORMS_MDI_WINDOW,WINDOW_SIZE,595,370);
  set_window_property(FORMS_MDI_WINDOW,position,0,0);
My problem was the opposite, I wanted to make the window as big as possible, without scrolling.  These dimensions are the approximate maximum for 800 x 600 screen resolution.  You should be able to adjust the window size smaller and the position larger to get the effect you like.

The fastest way to test may be to create a test form with four visible, enterable number fields: width, height, x_pos and y_pos and when-validate-item triggers on each.  The triggers on width and height should call the first command above using the values entered, instead of the literals I used, and the triggers on x_pos_and y_pos should call the second command listed using the values entered.

0
 
LVL 1

Expert Comment

by:bkm
Comment Utility
For making the window to the maximum size, use the following command set_window_prperty(forms_mdi_window,window_state,maximize) in the When new form instance trigger.

For making the windows to a specific size, 'window_size' property is to be used.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows how to recover a database from a user managed backup
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now