07-07-2009 03:27 AM
Hi,
I added a .NET TextBox to LabView using .NET Container. I registered 3 events: Enter, Leave and TextChanged. In each event handler vi, I just prompt a dialog box. Whenever I made some text changes, TextChanged event is called, but seems like Enter and Leave event will never get fired. May I know if anyone has any idea?
I am attaching the program, the main program is textBoxEvent.vi.
Thansk.
07-07-2009 09:20 AM
I'm not sure, but I suspect the reason for this is that LabVIEW is not an instance of a Windows Forms class.
As an alternative you could use a LabVIEW event structure and handle the control's Mouse Enter event. Note that in this case I'm referring to the .NET container control, not the embedded Textbox.
08-10-2009 04:12 AM