LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

bitmap button

LV5.1
WinNT4.1

Hello,

Is there anyway I can associate a bitmap on my button (1 button when not
pressed, and another one when pressed)?

TIA,
John
0 Kudos
Message 1 of 3
(2,498 Views)
"John Cruz" wrote:
>LV5.1>WinNT4.1>>Hello,>>Is there anyway I can associate a bitmap on my button
(1 button when not>pressed, and another one when pressed)?>>TIA,>John>>>>>


John

1. put a regular boolean button on your front panel

2. select it, then go to edit->edit control
3. on pop up window go to Edit->Import Picture from file.
4. select a bitmap image
5. right click on boolean and select import picture-> and either true or
false.


You can also do rollover effects (similar to java script on web pages) by
using picture controls and associated attributes (i.e. mouse position) if
you are interested. Hope this helps.

pat
0 Kudos
Message 2 of 3
(2,498 Views)
Thanks for the tips. I'm interested with the rollover effects since I
prefered to associate the new control programmatically (my button image will
look something else if a process pass, or fail).

Thanks again,
John

"pat sincebaugh" wrote in message
news:38a33d6c@newsgroups.ni.com...
>
> "John Cruz" wrote:
> >LV5.1>WinNT4.1>>Hello,>>Is there anyway I can associate a bitmap on my
button
> (1 button when not>pressed, and another one when pressed)?>>TIA,>John>>>>>
>
>
> John
>
> 1. put a regular boolean button on your front panel
>
> 2. select it, then go to edit->edit control
> 3. on pop up window go to Edit->Import Picture from file.
> 4. select a bitmap image
> 5. right click on boolean and select import pi
cture-> and either true or
> false.
>
>
> You can also do rollover effects (similar to java script on web pages) by
> using picture controls and associated attributes (i.e. mouse position) if
> you are interested. Hope this helps.
>
> pat
0 Kudos
Message 3 of 3
(2,498 Views)