professor_rumsdiegeige Posted April 30, 2009 Report Share Posted April 30, 2009 Hello fellows, I'd like to have an event fired as soon as the user clicks into a string control to start editing it... the idea is that everytime the user starts to edit this control, the windows virtual on-screen keyboard shall be launched, because the user has problems with typing on the small keyboard.... Is this event available? I tried "Mouse Enter" and "Mouse Leave", but this doesn't really fit. Any ideas? Sabine Lorentz Quote Link to comment
Antoine Chalons Posted April 30, 2009 Report Share Posted April 30, 2009 QUOTE (professor_rumsdiegeige @ Apr 29 2009, 09:04 AM) Hello fellows,I'd like to have an event fired as soon as the user clicks into a string control to start editing it... the idea is that everytime the user starts to edit this control, the windows virtual on-screen keyboard shall be launched, because the user has problems with typing on the small keyboard.... Is this event available? I tried "Mouse Enter" and "Mouse Leave", but this doesn't really fit. Any ideas? Sabine Lorentz I think the "mouse up" event will do the job. hope this helps Quote Link to comment
LAVA 1.0 Content Posted April 30, 2009 Report Share Posted April 30, 2009 Off course there is the 'Mouse Down' event. Ton Quote Link to comment
professor_rumsdiegeige Posted April 30, 2009 Author Report Share Posted April 30, 2009 Cool, thanks a lot. Is there, in general, a description available of the individual events? Or is it try-and-error? Quote Link to comment
Yair Posted April 30, 2009 Report Share Posted April 30, 2009 QUOTE (professor_rumsdiegeige @ Apr 29 2009, 11:24 AM) Is there, in general, a description available of the individual events? Or is it try-and-error? If you right click the event structure and select Help, it will open the LabVIEW help, which includes a listing of all the events (there aren't that many). Quote Link to comment
LAVA 1.0 Content Posted April 30, 2009 Report Share Posted April 30, 2009 And there is an on line list But it helps to explore something via trial and error. Ton Quote Link to comment
jdunham Posted April 30, 2009 Report Share Posted April 30, 2009 Here are two other ideas: One is to enable "update while typing" on the string control. Then you will get the value changed event after the first letter. Maybe not quite what you want but easy to do. The other is to cover the string with a transparent boolean. When the user clicks the boolean (thinking they will click into the string underneath), you hide the boolean (visible=F), set the string's Key Focus to true, and then show the virtualkeyboard. Whenever the virtual keyboard goes away, you make the transparent boolean 'visible' again. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.