Jump to content

PDA Control with Picture


Novice

Recommended Posts

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.

Link to comment

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.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.