Novice Posted February 24, 2006 Report Share Posted February 24, 2006 Hello, I was trying to put a picture (icon) on the OK control button, which looks allright when designing the front panel (customize). After building the application there was no icon, but just an empty box, visable on the PDA itself?! My goal is to have a menu with icons which can be clicked. Has anybody an idea how to solve this? Thanks in advance. Best regards. Quote Link to comment
Yair Posted February 24, 2006 Report Share Posted February 24, 2006 The PDA module has significant shortcomings compared to the desktop version. You should inherently expect it not to do everything the PC version does (and that apparently includes keeping the graphics on buttons). It sounds like the best way to what you want is to use a picture control and to use a Mouse Down event for the picture followed by a bit of math to detect which part of the picture you clicked on. If you keep an array of locations for your buttons you can compare or search to detect which button you clicked. That way, you can use a single picture control to display whichever buttons you want. Since the PDA module has limited support for properties, you may need to hard code the origin of the control. Quote Link to comment
i2dx Posted February 24, 2006 Report Share Posted February 24, 2006 [...]Since the PDA module has limited support for properties, you may need to hard code the origin of the control. i would say: allmost no support, except a few, which you can count with 2 hands ... Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.