Page 1 of 1

How to get the client size of a PanelGadget?

Posted: Tue Oct 23, 2012 8:12 pm
by Octopus
Because that area is depending from different entities it would be helpful to know about its details. So how to accomplish that? Thank you in advance.

Re: How to get the client size of a PanelGadget?

Posted: Tue Oct 23, 2012 8:20 pm
by ts-soft

Code: Select all

Debug GetGadgetAttribute(#Gadget, #PB_Panel_ItemWidth)
Debug GetGadgetAttribute(#Gadget, #PB_Panel_ItemHeight)

Re: How to get the client size of a PanelGadget?

Posted: Tue Oct 23, 2012 9:34 pm
by Octopus
Thank you.