View Single Post
  #5   Spotlight this post!  
Unread 24-02-2010, 08:13
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Dashboard Front Panel trouble

Alan is correct. The left right were made by starting with a simple button such as the circle, then importing graphics. If you are not going to color them, PNGs or vector graphics work well. If you aren't up to that and are using BMPs, you'll want to match the BG color. Or, you can use one of the built-in vector graphics in the Decorations palette.

The steps for customizing a button are to go into the control editor by right-clicking>>Advanced>>Customize. In the new window, you can right click on the button and the Import Picture from Clipboard pull-right will let you replace the True and False images. To get an image on the clipboard, you can go to a drawing package select and Copy -- easiest, but you typically end up with a rectangular BMP. You can use Edit>>Import Picture to Clipboard -- which will allow you to use saved images such as PNGs and GIFs. And finally, you can borrow graphics from pretty much anything you see in LV. In this case, you can drop a decoration such as the flat up triangle, select, Cut, and it is on the clipboard. If you want to borrow a control graphic that isn't in decorations, but already part of a control, in the control editor, you click on the wrench/tweezer button on the toolbar, and when in tweezer mode, you can right-click on control elements and Copy to Clipboard.

You want to Import the same image to both True and False and color them differently, it sound like. Of you can color them in an external editor and import different images for True and False. The decal, by the way, is displayed for both True and False images. When you close the window, it will ask if you want to save this as a .ctl. This is useful if you'll use this customized part in the future without having to copy/paste from this usage. You can easily put .ctls into the palette for example. And finally, you do want to replace the original control with the modified one.

Greg McKaskle
Reply With Quote