How to get the dimensions (h & w) of dynamic objects

Avatar

Avatar

Yasser__AST-IT_

Avatar

Yasser__AST-IT_

Yasser__AST-IT_

10-06-2011

Hi,

Is there any way to get the dimensions (h & w) of dynamic objects (such as subform, or text field) via scripting?

To get way I was looking for, I tried using "object.h" or "object.w" in various events timings (i.e., @ initialize, form:ready and layout:ready) but I always get the result as "0".

If someone there knows a better way to place (event) the code or have different approach, I do appreciate it.

BR,

Yasser    

View Entire Topic

Avatar

Avatar

Yasser__AST-IT_

Avatar

Yasser__AST-IT_

Yasser__AST-IT_

11-06-2011

Hi Stephen,

Great, it seems that this is the direction to go...

Really appreciate your help.

BR,

Yasser