mzu Posted May 2, 2012 Report Share Posted May 2, 2012 When (in edit mode) you click on the border of a regular control it becomes selected.Not so for all XControls I've seen or created so far. The only way I found to mimic the behavior is to use Control refnum from the container state cluster and set "selected" (Scripting enabled) property to true. Questions: 1. Is it safe to do so, as I recollect there some synchronization related limitations on what you can do with this refnum. 2. Do I really have to enable scripting; am I missing some much easier way to do it? Quote Link to comment
Jon Kokott Posted May 2, 2012 Report Share Posted May 2, 2012 The best way I've found is to click on the (open) FP Background, and Drag a selection box over/into the XControl. You don't have to select the whole thing, just some of it, it is kind of annoying though. Quote Link to comment
mzu Posted May 2, 2012 Author Report Share Posted May 2, 2012 (edited) it, it is kind of annoying though. That is what I am talking about. The trick with property node -> Selected sort of works works but I there might be some hidden problems. At least none of the XControls that ship with LabVIEW do that. Edited May 2, 2012 by mzu 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.