how to get form width closer then 50??

hi,

I need a 2nd form with a width size of 32 but Delphi 3 only allows to 50, how can I get the form smaller then that?
hellfire052497Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Pegasus100397Connect With a Mentor Commented:
Hellfire,

On the border icons (may not be necessary)
set to FALSE the following:
biSystemMenu
biMinimize
biMaximize
biHelp

and set the borderstyle style to bsNONE. If you still MUST have the border let me know and I'll send the code up to keep the border :P

Good luck with you project!
Pegasus
0
 
hellfire052497Author Commented:
Ooops little mistake, maximum form width in delphi = 112 not 50.
and yes it must be with a border and the normal minimize and close buttons, so I need the code.
thanks
0
 
Pegasus100397Commented:
The problem is that Win95 will not allow a form to be *so* small that the minimize, maximize and close buttons are not visible on the status bar.

What would be the purpose of having the buttons anyway if the form were so small as to hide them?

Just curious.

0
Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

 
hellfire052497Author Commented:
the idea is to make some kind of toolbar, that can be minimized. and closed, no caption necessary
possible or not??
the previous suggestion, of setting buttons to false and no border didn't work either? still no smaller than 112
0
 
hellfire052497Author Commented:
I was wrong with the size, it should be 98 not 32 wide
0
 
Pegasus100397Commented:
Does it have to be a "floating" toolbar (anywhere on the screen) or can it be "captive" (held within the limts of your program). I ask because the code is slightly different for each  and I should have some examples lying about.

Thanks & let me know :)
Pegasus
0
 
hellfire052497Author Commented:
Floating, on the rightside of the mainform.
thanks
0
 
Pegasus100397Commented:
Inside or outside the mainform? :)

0
 
hellfire052497Author Commented:
outside
0
All Courses

From novice to tech pro — start learning today.