How to get the client size of a PanelGadget?

Just starting out? Need help? Post your questions and find answers here.
User avatar
Octopus
User
User
Posts: 55
Joined: Sat Jun 13, 2009 6:42 am
Location: Munich (Germany)
Contact:

How to get the client size of a PanelGadget?

Post 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.
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

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

Post by ts-soft »

Code: Select all

Debug GetGadgetAttribute(#Gadget, #PB_Panel_ItemWidth)
Debug GetGadgetAttribute(#Gadget, #PB_Panel_ItemHeight)
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
User avatar
Octopus
User
User
Posts: 55
Joined: Sat Jun 13, 2009 6:42 am
Location: Munich (Germany)
Contact:

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

Post by Octopus »

Thank you.
Post Reply