durnek60 Posted September 30, 2010 Report Posted September 30, 2010 HI Experts! I have a question for you! I would like to use the " fit control to pane" behaviour on control, that placed on a tab control page. After setting "fit control to pane" to the tab control, the other control i.e Image Display wont resize when I resize the window. Could you help me how to do that? Thank you! Quote
Michael Aivaliotis Posted September 30, 2010 Report Posted September 30, 2010 If you set fit control to pane on the tab control, then only the tab control will resize. Not the contents. One possible solution is to programmatically resize the Image Display control based on the size of the tab control. You would have to put this code in a parallel loop so it always runs and feels smooth to the user. 1 Quote
durnek60 Posted September 30, 2010 Author Report Posted September 30, 2010 If you set fit control to pane on the tab control, then only the tab control will resize. Not the contents. One possible solution is to programmatically resize the Image Display control based on the size of the tab control. You would have to put this code in a parallel loop so it always runs and feels smooth to the user. Thank you! That it what I'm affraid of... Quote
Michael Aivaliotis Posted September 30, 2010 Report Posted September 30, 2010 Thank you! That it what I'm affraid of... Depending what your end goal is, you can also try these other suggestions: 1 Quote
durnek60 Posted September 30, 2010 Author Report Posted September 30, 2010 Depending what your end goal is, you can also try these other suggestions: http://lavag.org/top...it-to-the-pane/ Thank you very much again! I'm going to try it soon!!! Quote
jgcode Posted September 30, 2010 Report Posted September 30, 2010 Thank you! That it what I'm affraid of... Hi Durnek60 There is a similar thread here by Martin too. Cheers -JG 1 Quote
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.