09-22-2005 12:37 PM
09-22-2005 03:48 PM
Now THAT would be useful.
Here is my strategy as a workaround:
(1) Guess the maximum width your cluster will ever be, and make it that wide.
(2) Save the cluster as a "Strict Typedef" Custom Control.
(3) On front panels where you use this cluster, reserve an "infinitely tall" vertical strip on your front panel each time the cluster is used.
(4) As you add items to the cluster, only add them in the vertical direction, so they grow inside the vertical strips mentioned in the last step.
(5) To "scroll" the cluster, simply scroll the front panel.
Hope that helps.
09-22-2005 05:51 PM
09-23-2005 04:50 AM
hi there
i got two suggestions:
"Read only" : show the picture of the cluster inside a picture control with scroll bars
"Read Write":
09-23-2005 04:50 AM
hi there
i got two suggestions:
"Read only" : show the picture of the cluster inside a picture control with scroll bars
"Read Write" :
09-23-2005 04:50 AM
hi there
i got two suggestions:
"Read only" : show the picture of the cluster inside a picture control with scroll bars
"Read Write" :
09-23-2005 04:50 AM
hi there
i got two suggestions:
"Read only" : show the picture of the cluster inside a picture control with scroll bars
"Read Write" :
09-23-2005 04:51 AM
09-23-2005 08:32 AM
Chris,
Thank you so much for your suggestion.
Using the subpanel worked out for me. I tried it earlier but I was doing somethig wrong I guess.
Now, Is there a way to limit how much of the VI front panel inside the subpanel is scrolled? Because when we move the scrollbars to eiter extreme, the subpanel showsmore of blank front panel of the subVI around the cluster.
Thanks again!
09-23-2005 08:44 AM
hi there
- you are not allowed to open a front panel which is shown in a SubPanel (that's propably the reason for the problems you mentioned)
- a SubPanel shows the whole PANEL, so you have to adjust the panel size to the size of the cluster (you can place the cluster in the upper left corner and adjust the panel size to the cluster size at runtime using some VI/control properties)
- another option is the "Scale Panel" option of the SubPanel (right click->"Scale Panel"). then the front panel will be scaled to fit into the SubPanel (proportions get lost!)