TWebPageControl properties

Hi,

Would it be possible to expose the properties for ElementPosition and ElementClassName (relative to the first main span that is created) of a TWebPageControl?

From the HTML that gets generated by the component, I also noticed that the <ul> with all the tabs is the last element in the node, and that could be a problem when working with elements in relative position—so having a way to control where it is in the HTML would be a welcome feature.
Thanks

I see ElementClassName already exposed here in the IDE?
We'll look to also expose ElementPosition

Hi Bruno,

type or paste code here
 the class ElementClassName is indeed exposed but refers to the '<ul>' element. All the "class" properties in the TWebPageControl are relative to the elements in the list:
 ElementClassName: '<ul>' - Main List
 ElementTabActiveClassName: active '<a href>' inside a '<li>' element
 ElementTabClassName: '<a href>' inside a '<li>' element
 ElementTabItemClassName: '<li>' element of the '<ul>'```



The HTML structure of the component however is this:

<span id="TForm_PageControl" class=*I WOULD WANT MY CLASS HERE*> 
<span id="TForm_TabSheet1"></span>
<span id="TForm_TabSheet2"></span>
<span id="TForm_TabSheet3"></span>
<ul class="ElementClassName">
<li class="ElementTabItemClassName">
<a class="ElementTabActiveClassName">TabSheet1</a>
</li>
<li class="ElementTabItemClassName">
<a class="ElementTabClassName">TabSheet2</a>
</li>
<li class="ElementTabItemClassName">
<a class="ElementTabClassName">TabSheet3</a>
</li>
</ul>
</span>

At possible solution is to set the CSS class with:

WebPageControl.ElementHandle.setAttribute('class','main_span_class');