Byungin Bae wrote:
> Hi, every one.
>
> Is it possible to write a VI with child window(s) on its front panel?
> I want to write a VI which looks like an Excel's, i.e. a main window which
> can have several child windows inside it.
>
> Thanks for every advise.
>
> Regards,
>
> Byungin Bae / bibae@hitel.net
The general answer is YES. You can simulate this behaviour by using VI
server capabilities. Take a look at. ../examples/viserver directory in
your installation for some examples of using VI control features of LabVIEW.
Generally algorithm could be suggested as follows.
Create main.vi, child.vi and server.vi. Open references to main and
child in server. You are ready to play with properties and methods of
main and child in serv
er. I mean size, position some behaviour
properties and etc. You can synchronize child and main parameters from
server.
There are tricks there and several ways of doing it, like controlling
main from child and child from main without server, but I don't want to
raise this discussion by my answer. LabVIEW Gurus, don't hit me with
objections and child window's theory, please 🐵 This is just a general
opinion for YES answer and was discussed in Info-LabVIEW mailing list.
--
Sergey Krasnishov
____________________________________
Automated Control Systems
National Instruments Alliance Member
Moscow, Russia
sergey_acs@levsha.ru
http://acs.levsha.ru