getFormWidth?

Hi there,

I have a tabpanel and that tabpanel has anchors, so it’s width can be resized.
Is there somewhere a function, or piece of code, to determ, how wide the form is, in that tabpanel, after a resize??

(tabpanel is not fullscreen, and we also do have/use a navigator…)

this code:

application.output(solutionModel.getForm(event.getFormName()).width)

always returns me the design width, not the real width, after resize.

Hi Harjo,

Yeah, it’s not always clear when you get blue-print values or real-time values.
Anyway, I tend to use controller.getFormWidth() to get the current form width of a form, even when using the SolutionModel.

ah yes, thanks… I was thinking to difficult ;-)

Yeah, it’s not always clear when you get blue-print values or real-time values

Which bit is not clear exactly?
SolutionModel: All about the blueprint, never the runtime situation
Everything else: Runtime situation

So, actual width of a form in a running client: NOT the solutionModel
Designed (blueprint) width of the form: solutionModel

Paul