Print Page | Close Window

Resizing Form to Minimum Width and Height

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=15435
Printed Date: 05 April 2025 at 11:01am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Resizing Form to Minimum Width and Height
Posted By: sam-U-cat
Subject: Resizing Form to Minimum Width and Height
Date Posted: 23 October 2009 at 2:33pm


How can I force skinframework (13.0.0, VB6) to repaint the form after the user resizes to a width and height that is less than the minimum allowed?

Here's how my form should appear (clicking or moving the form seems to correct the problem):







Here's how it appears after resizing the form (before clicking or moving the form):







Thank you



Replies:
Posted By: sos
Date Posted: 07 January 2011 at 1:50am
I had the same issue and it looks that it a conflict between skinframework and the usage of VB form resize. Somehow, the refresh doesnt happen after the mouse drag is released. 

While using skinframework, I use Codejock formExtender control. This works fine and the form appears correctly. All you need to do is drop this control on your form and define ClientMinHeight / ClientMinWidth properties to appropriate values (generally the same as you have defined in your form size).  

You need to have Codejock Controls for that though!


-------------
Shashank
Codejock SkinFramework/Controls v13.4.0
-------------------------------
No prizes for the right answer!!! :)


Posted By: Oleg
Date Posted: 21 March 2011 at 2:01pm
yes, use our FormExtender.      change Width in Resize is very bad solution. - it works bad even without Skinframework.

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net