Subscribe

RSS Feed (xml)

Immovable Forms Creation

You can create a borderless form by setting the FormBorderStyle property to None. Borderless forms can't be moved. However, they also lack any kind of border-if you want the customary blue border, you'll need to add it yourself either with manual drawing code or by using a background image.

There's one other approach to creating an immovable form that provides a basic control-style border. First, set the ControlBox, MinimizeBox, and MaximizeBox properties of the form to false. Then set the Text property to an empty string. The form will have a raised gray border or black line (depending on the FormBorderStyle option you use), similar to a button. Below figure shows both types of immovable forms.

immovable.JPG

Technorati :

No comments:

Post a Comment

Archives

LocalsAdda.com-Variety In Web World

Fun Mail - Fun in the Mail