> 1, Is there any way to attach a scroll bar to the picture control ? I
> mean that if the drawing area is too small to contain many pictures ,
> then need to enlarge the drawing area , just like the front panel
> scroll bar .
>
You can draw your image anywhere you like. Placing sliders near your
picture control, you can make functional, but crude scrollbars. LV7 has
scrollars built into the picture control.
> 2, Can I zoom out or zoom in an insert picture ?
>
Again, you can draw the image however you like. For vector images, you
recreate them with different points. For bitmaps, there are VIs
available that will stretch a bitmap. In LV7, the draw bitmap operation
includes stretching.
> 3, Is there any way to assign an
insert picture a data property ?
> e.g. , make an picture which has boolean value .
>
You can track events on the picture control. You write the program to
catch gestures that you are interested in -- clicks, shift clicks, right
clicks, etc. You cannot attach data to the picture, but you can easily
keep the data in a parallel structure, the structure used to redraw the
image.
If you haven't already, you should look at some of the examples, and
some of the neatest are on devzone.
Greg McKaskle