Solved

how to get form width closer then 50??

Posted on 1997-11-14
9
168 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

803 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