Skip to Content
0

Why does my add-on form become distorted when I restore and then maximize the add-on screen?

May 19, 2017 at 10:23 AM

59

avatar image

Hi, everybody

Please see the attached pictures which explain my problem.

Any ideas are most welcome.

Thanks

Leon

capture.jpg (430.5 kB)
capture1.jpg (310.6 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
ANKIT CHAUHAN
May 19, 2017 at 10:32 AM
0

Hi Leon,

Ideally, it should set the proper Scrollbar while resizing the form. It appears that the issue is caused by SAP Note 2156310.

What happens if you create a 'Fixed' Type form? And more importantly, what is the SAP Business One Version?

Kind regards,

ANKIT CHAUHAN

SAP SME Support

Show 4 Share
10 |10000 characters needed characters left characters exceeded

Hi, Ankit

Thanks for your reply.

>> It appears that the issue is caused by SAP Note 2156310.

I searched the forum, but could not find it. Could you give me a link?

.

>> What happens if you create a 'Fixed' Type form?

See the attached picture. This is what I get

.

>> what is the SAP Business One Version?

9.0

.

Hope it can help.

Best Regards,

Leon

fixedform.jpg (313.1 kB)
0

No, SAP Business One Version 9.0 is quite old and already out of maintenance.

I would ask you to test this issue on SAP Business One Version 9.2 since there have been few fixes related to UI API issues in SAP Business One Version 9.1 and 9.2 .

Also in SAP Business One Version 9.2 system will remember the form dimensions once it is closed.

Kind regards,

ANKIT CHAUHAN

SAP SME Support

0

Unfortunately, our SAP consultants have not yet completed the installation of 9.2.

.

I always love to design my add-on screens fully maximized, with no scroll bars as far as possible, so that the user can see everything on one screen without scrolling.

.

Do you have other ideas what could cause this strange behaviour?

.

Alternately, if I cannot prevent the behaviour, is it possible to disable the minimize and restore buttons in both SAP and add-on?

.

Best Regards,

Leon

0

Hi, Ankit

>> What happens if you create a 'Fixed' Type form?

After a good night sleep, I reworked very hard on your suggestion.

I omitted to put the correct dimensions and position of the form. When I put these, and changing the form type to:

oCreationParams.BorderStyle = SAPbouiCOM.BoFormTypes.ft_Fixed

then my problem disappeared completely. My form no longer gets distorted when I restore and then maximize it!

Great!

Thanks a lot for helping me sort out my problem.

Best Regards,

Leon

0