Re: Form beahviour

"Bisma Jayadi" <[email protected]> Sat, 19 Apr 2003 10:36:31 +0700
Newsgroups gmane.comp.lang.delphi.kylix
Organization Brawijaya IT Services
Message-ID <005a01c30624$de221230$910311ac@simba>
You're welcome. To provide the trick through component is a good idea.
But, personally I prefer write it (copy/paste for exactly :) rather
than using a component. It's only four lines of code anyway. Besides,
if we want to compile the program on another Linux box, we must bring
the component as well. :)

Now, I have a question related to your (previous) problem. For regular
form (TForm), the trick will overcome it. Now, try to show a window
message (MessageBox or ShowMessage), you'll see the the message window
is also resizeable. Till now, I don't know how to solve this since I
can't insert some codes into the window creation.

Any idea? :)

-Bee-


----- Original Message -----
From: Alberto Narduzzi
To: [email protected]
Sent: Thursday, 17 April 2003 17:04
Subject: Re: [KylixGroup] Form beahviour


Alle 11:57, giovedì 17 aprile 2003, Bisma Jayadi ha scritto:
> All we have to do is set the Constraint property to the form size we
want on
the OnCreate event.

Bee,

thanks, that's actually what I needed. Now I'm trying to create a
component
that just dropping it on a form will do the trick, rather than
adding/changing the OnFormCreate event for all the forms I don't want
to be
resizeable...

--
Cheers,
Batman
Registered Linux User #309442



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.471 / Virus Database: 269 - Release Date: 10-04-2003


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/W7NydA/hdqFAA/VygGAA/i7folB/TM
---------------------------------------------------------------------~->

-------------------------------------------------------
Forum / mailing list for Borland Kylix programmers
Our web page:  http://groups.yahoo.com/group/kylixgroup
To join the forum: [email protected]
To unsubscribe:  [email protected]
To post your messages:       [email protected]
To contact the moderator:  [email protected]
------------------------------------------------------- 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/