Solved

Window size

Posted on 1999-01-25
2
1,369 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 35

Accepted Solution

by:
Mark Geerlings earned 200 total points
ID: 1083806
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
ID: 1083807
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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and theā€¦
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

786 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