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

XML form items.

Hi all,

I have an addon that displays a simple xml based form that contains some edittext, combobox and button items etc.

The form appears fine on Win2000 but when viewed on a WinXP machine the buttons are appearing too far down the form.

I have read SAP note 655552 and can correct the problem for XP by increasing the form height & client_height but this throws out the appearance on Win2000.

Has anyone come across this issue before or have a solution?



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 01, 2004 at 07:59 PM

    In your XML file, only specify the "client_height" and "client_width" attributes. Do not specify the "height" or "width" attributes. This will keep the buttons positioned correctly when displaying in either XP or Windows Classic look and feel.

    The easiest way to get the correct client height/width is to simply launch your current screen on whichever platform displays correctly and msgbox the ClientHeight/Width values. Then edit the XML removing height and width and entering clientheight/width instead with the values that were reported. (Also toggling the desktop theme on XP between "Windows XP" and "Windows Classic" will save having to run it on two different machines to test it).


    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.