0

Hello,

This is my first post on DaniWeb, so I hope I did it OK.

Anyway, you'll notice that in the top of every window you have standard close button (the x in the red box).

I was wondering if it was possible to remove at this runtime, using VB6, so all I can see is the title bar?

Thanks

4
Contributors
4
Replies
5
Views
9 Years
Discussion Span
Last Post by jbennet
0

What Veena said will work just fine, but you could also completely remove the entire border including the X at runtime by simply going to the BorderStyle property when your form is chosen and setting it to 0-None. This would also achieve the same result and then some...

Good luck.

0

Ah yes - that is a very good idea, except I needed a border.

Out of interest, is it possible to set this style using code at runtime?

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.