cancel
Showing results for 
Search instead for 
Did you mean: 

UI: XML-form

Former Member
0 Kudos

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,

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Thank you very much!

It was a clue to the problem.

Attribute Visible must be after coordinations attributes.

Left -> Top -> Width -> Height -> Visible

Former Member
0 Kudos

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?>">