Page 1 of 1
Resizeable Registration Dialog?
Posted: Tue Mar 01, 2011 3:40 pm
by Majid
Hi Enigma
I want that registration dialog can't be resized. Also I want to remove maximize button. How to do that?
Re: Resizeable Registration Dialog?
Posted: Tue Mar 01, 2011 4:13 pm
by Enigma
Very simple Majid, open Form properties and change BorderStyle to, for example, bsDialog. The window will lose maximize button and will be not sizeable!
See this screenshot:
screen.png
Re: Resizeable Registration Dialog?
Posted: Tue Mar 01, 2011 4:45 pm
by Majid
Great, Thanks

But what about minimize icon? I want to show it?

Re: Resizeable Registration Dialog?
Posted: Tue Mar 01, 2011 4:51 pm
by Enigma
Majid wrote:But what about minimize icon? I want to show it?

Majid, try to play with the BorderIcons property! There you can select necessary icons!
Re: Resizeable Registration Dialog?
Posted: Tue Mar 01, 2011 4:59 pm
by Majid
I have choose bsDialog for Border Style,then in Border Icons I have set buMinimize to True,after protection minimize button is not there.so what should I do?
Re: Resizeable Registration Dialog?
Posted: Tue Mar 01, 2011 5:09 pm
by Majid
Solved! I should set BorderStyle to bsSingle,then I can play with border Icons
