Solved

how to get form width closer then 50??

Posted on 1997-11-14
9
172 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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

792 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