Wednesday, January 26, 2022

Hiding Window failing on forms 6i



 Step 1:

The first step is to build a form. Then choose the data blocks and generate button from the drop-down menu.

Hiding Window failing on forms 6i

Step 2:

The second step is to manually build a data block in order to include some custom fields.

Hiding Window failing on forms 6i

Step 3:

After the canvas window has been opened, you may add some custom fields to it. In my situation, I was creating a login window, so I added two text fields and one button to the canvas.

Hiding Window failing on forms 6i

Step 4:

Navigate to the windows section of the object navigator and choose the windows property to which you want to assign the F4 button. Additionally, change the window style to "Document."

Hiding Window failing on forms 6i

Step 5:

Afterwards, go to the form level triggers and create a new trigger with the name WHEN-NEW-FORM-INSTANCE, into which you should enter the code I provided below.

set_window_property(forms_mdi_window,title,'tech things solutions');

set_window_property(forms_mdi_window,width,254);

set_window_property(forms_mdi_window,height,131);

set_window_property(forms_mdi_window,x_pos,160);

set_window_property(forms_mdi_window,y_pos,80);

 set_window_property('window1',window_state,maximize);

Hiding Window failing on forms 6i

Step 6:

After all of the steps are completed, the property is yours. Pressing Ctrl + R will launch the form, or you may navigate to the object navigation toolbar and click the icon .

 

Output:

Hiding Window failing on forms 6i

If you have any problem so download the file to click on "Download".

Download

I hope it's helpful for you. If you have any queries, don't hesitate to contact me.

Name : Muhammad Sahal Qasim
E-mail : s.m.sahal789@gmail.com
Thank you.

0 comments:

Post a Comment

If you have any doubts, please let me know. I will help you.