Jump to content

Circular picture control/indicator


Recommended Posts

Are you aware of the Customized Control ?

You just need to take the control you need: Boolean for example, right click on it to open the Advanced -> Customize panel.

From here you can "Import Picture" for the FALSE and the TRUE states. (The picture imported is the one you copy into the clipboard).

So before doing this, you can create the circle or any other picture your want in Paint or any other graphical tool...

Then copy, and paste in the "customized Control".

If the problem is because of the "Circle", why don't you just draw your control with the background color of your panel in the back?

Or perhaps you can import a Gif interlaced with a transparent color as background... never tried....

Hope this will help you.

Laurent

Link to comment

I don't think there is any way for us non-NI mortals to do this directly, make a circular control frame picture control. The suggestions above about importing images is just cosmetic.

However, using Windows API calls, you can make a VI circular. So, you could make a VI that had no title bar, button bar, etc, then make the entire front panel one picture control, then make the VI round. If you get George Zhou's G Toolkit it has VIs to do the arbitrary shaping of the VI. Well worth the money.

http://www.geocities.com/gzou999/

Look for the "Bitmap Shape Window" VI and example.

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
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.