Solved

how to get form width closer then 50??

Posted on 1997-11-14
9
176 Views
Last Modified: 2010-04-04
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?
0
Comment
Question by:hellfire052497
  • 5
  • 4
9 Comments
 
LVL 3

Accepted Solution

by:
Pegasus100397 earned 100 total points
ID: 1350489
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
 

Author Comment

by:hellfire052497
ID: 1350490
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
 
LVL 3

Expert Comment

by:Pegasus100397
ID: 1350491
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:hellfire052497
ID: 1350492
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
 

Author Comment

by:hellfire052497
ID: 1350493
I was wrong with the size, it should be 98 not 32 wide
0
 
LVL 3

Expert Comment

by:Pegasus100397
ID: 1350494
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
 

Author Comment

by:hellfire052497
ID: 1350495
Floating, on the rightside of the mainform.
thanks
0
 
LVL 3

Expert Comment

by:Pegasus100397
ID: 1350496
Inside or outside the mainform? :)

0
 

Author Comment

by:hellfire052497
ID: 1350497
outside
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Press three keys together and trigger a function 3 67
DBGrid or StringGrid ? 6 120
Delphi, TImage, Png 2 31
Delphi android app hide keyboard 3 47
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question