Skip to Content
avatar image
Former Member

UI: XML-form

Hi,

I have some problem using a form saved in the XML format.

1. When my form appears within a SBO screen, it has left, top, width and height coordinates that are different from coordinates set in the XML string. Probably, LoadBatchActions uses its own form coordinates to animate form appearance. I have to handle et_FORM_ACTIVATE event to replace my form. Is there any way to force SBO to use coordinates from XML?

2. Non-english captions of form items are displayed incorrectly, but they become correct when I change them in my form event handle. I didn't find any language settings in the XML form definition. Does anybody meet with such problem?

Thanks,

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Mar 02, 2004 at 01:36 PM

    Hi

    I've just found message about bug:

    "Known Bug:

    When adding a from with XML the order must be like this:

    Top -> Left -> Width -> hight"

    It may be useful for you

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Thank both of you for sharing the information.

      Funny enough, when getting a form as xml via SBO, it returns attributes in the following order:

      <form type="<0=sizeable or 3=notitle or 4=fixed>"

      uid="<FORMUID>"

      title="<FORMTITLE>"

      visible="<0 or 1>"

      default_button="<0 if not set?>"

      color="0"

      left="161"

      top="37"

      height="326"

      width="760"

      appformnumber="<-1 = not set/ set dynamic?>">