Can I just ask why you are needing to hard-code the values into your proxy gadget? Is there a reason why you aren't simply calling ClientWidth() within your TProxyGadget?
It's always best to steer clear of hard-coded values if you can help it, as even within one platform, the values can be different depending upon the theme uses etc.
It's always best to steer clear of hard-coded values if you can help it, as even within one platform, the values can be different depending upon the theme uses etc.
I was wanting to know the above information because I wanted the pixmaps to fit perfectly inside the panel. :) To make everything more clear, I just e-mailed you the completed proxy gadget. I would've posted it here, but it's kinda big. Let me know what you think and if I should add/remove anything.