Skip to Content
author's profile photo Former Member
Former Member

Add-On Form Scrollbar Resolution Issue

Hi,

I currently have an SBO add-on form which works perfectly and can be viewed without any issues in any resolution above 800x600. If you reduce the height of the form (the form's height is 530 pixels) the SBO vertical scroll bar appears and you can scroll up and down the form and use all of the buttons without any problem. FYI: the form's FormType property is set to ft_Sizeable.

Unforntunately a client is using a small monitor with an 800x600 resolution and they cannot view the form correctly. The problem they experience is that when SBO displays the form at that resolution there is no vertical scroll bar present and the bottom of the form is cropped off. If you open the Sales Order form at this resolution a vertical scroll bar appears accordingly, however, the same isn't true for my add-on form. I tried resizing the form using code after it has loaded but this had no effect. SBO seems to force the add-on's form's maximum size so it won't exceed it's own window size, which is fair enough, but why can't I get the vertical scrollbar to appear so I can still view the entire form.

Does anyone have any ideas as to how I can get the vertical scrollbar to appear at 800x600 so I don't have to redesign my form layout.

Thanks, Bernie.

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 11:48 AM

    Hi Cook,

    There is no scrollbar concept for forms in SBO. i.e. You can not set the scroll bars for userforms.reseizing the form will not show the scrollbars to userforms.

    the work around will be

    if your form is not more than 800x600 Then you can get client system(monitor) witdh and height using .Net Code and then you can set the position of the form as shownbelow

    'After loading the form get reference to form

    Dim Rect As System.Drawing.Rectangle

    Dim form As System.Windows.Forms.Form

    Rect = System.Windows.Forms.Screen.PrimaryScreen.GetWorkingArea(Rect)

    objForm.Left = Rect.Width - 10

    objForm.Top = Rect.Top - 10

    Hope this helps,if it helps reward points

    Regards

    Vishnu

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 12, 2007 at 02:09 PM

    Hi Bernie,

    I have the same problem. Have you found any solutions?

    Regards,

    Harianto Ng

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 12, 2007 at 02:25 PM

    Greetings all,

    I am also having this problem. If you find any 'resolution' to this problem, please pass the info along to me.

    Thanx,

    Tim Pope

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 06:21 AM

    Bernie,

    R u adding some user fields on that predefined screen? If so who u adding that becoz of some code also thr is some resolution problem may raise...

    Regards,

    Anitha

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.