LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Resizing XControl

Tushar:

Thank you very much, I look forward to seeing it.

Rudi N.

0 Kudos
Message 11 of 16
(881 Views)

sorry for so much delay

Acrtually i was out of station and the work got extended

 

here is the code

Tushar Jambhekar
tushar@jambhekar.com

Jambhekar Automation Solutions
LabVIEW Consultancy, LabVIEW Training
Rent a LabVIEW Developer, My Blog

0 Kudos
Message 12 of 16
(868 Views)

Tushar:

Thank you very much for posting the code. It looks pretty great.

Have a great day !

Rudi N.

0 Kudos
Message 13 of 16
(859 Views)
Hi,


This is not directly related, but perhaps one of you know how it's done;


I want to resize the X Control from with in the X Control itself. I have a property that sets the X Control image, and I like the X Control to resize to the image size. The Panel Bounds and Window Bounds properties return errors.


Any ideas?


Regards,


Wiebe.
0 Kudos
Message 14 of 16
(835 Views)
Never mind, I found out myself.


For the reference:


Don't use the returned VIRef from the event structure. Use the bundled Refnum from the Container State. Then use XControl>Container Bounds.


Regards,


Wiebe.
Message 15 of 16
(834 Views)

Wiebe:

Thank you very much for posting the solution.

Rudi N.

0 Kudos
Message 16 of 16
(821 Views)