Bobillier Posted November 18, 2009 Report Share Posted November 18, 2009 Hi is there a way to know the control position in reference to zero of the sreen (left top conner) and not front panel? I have try to calculate it from property without succes . I'm a beet lost with all coordinate propertys (limite, masterbound,....) A small explaination (or a small drawing)of those differents propertys will be appreciate. Quote Link to comment
Ton Plomp Posted November 19, 2009 Report Share Posted November 19, 2009 There is a method for the panel Class that converts a coordinate on that panel to a coordinate on the screen: There is a concern, there is no clear way to get the 'owning panel' of a control. I have a 'Get Owning Pane' VI on the CCT codebase that might get you started. Please vote on my Idea on the idea exchange. Ton Quote Link to comment
Bobillier Posted November 19, 2009 Author Report Share Posted November 19, 2009 (edited) Thanks Ton have test it and your exempl is ok. It's incredible the complexity to obtein the pane from control.Just a control property for Pane will be enought, or change the owner by the pane and not the Panel reference. The question is now to know if there is same things for terminal on diagram (terminal position on screen). Edited November 19, 2009 by Bobillier 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.