Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

ActiveX control manipulation

Hello

I have a requirement for a calendar popup (original size about 36 x 36) to size about 190 x 190, by a mouse hover action. Once the date has been selected by the user the calender returns to its original size.

 

I have tried everything I can think to use the ActiveX calender and try and modify programmatically its property values (container bounds- all elements etc.) but it refuses to function correctly.

 

I realise this question has been raised a number of times previously, but so far there has not been a satisfactory solution suggested. I am surprised that such a simple function commonmly used in windows applications, has not found it;s way into Labview.

 

So, my question....has anybody!!! manged to get a function like this working properly.

 

Thanks for listening

 

0 Kudos
Message 1 of 3
(6,504 Views)

Rayclout,

 

I've looked into this request and created an example that I think accomplishes what you are trying to do. I did not use the property nodes of the ActiveX control, but instead used an event structure that captured whether the mouse had entered the boundaries of the ActiveX control. When the mouse leaves the control, it is resized to the original dimensions you specify. The example can be modified to capture a value change and then resize the control. 

 

Is something like the example I posted what you were looking for? Let me know if you have any questions about how I implemented the code in my example.

Stephanie A.
Americas Marketing Manager
National Instruments
Message 2 of 3
(6,485 Views)

Stephanie

Thank you....that works very well. I created the same but with the calendar control and am very happy with it.

 

Regards

Ray

0 Kudos
Message 3 of 3
(6,478 Views)