?
Solved

how to get form width closer then 50??

Posted on 1997-11-14
9
Medium Priority
?
181 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 3

Accepted Solution

by:
Pegasus100397 earned 200 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

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!

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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 tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

770 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