Solved

how to get form width closer then 50??

Posted on 1997-11-14
9
163 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
 

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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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 my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

706 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now