06-06-2010 03:31 AM
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
06-07-2010 04:16 PM
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.
06-07-2010 05:36 PM
Stephanie
Thank you....that works very well. I created the same but with the calendar control and am very happy with it.
Regards
Ray