Board index » delphi » Controls behaving like in Delphi design time (move and sizable)
Matthias Meinecke
![]() Delphi Developer |
Wed, 10 Dec 2003 18:14:14 GMT
|
Matthias Meinecke
![]() Delphi Developer |
Wed, 10 Dec 2003 18:14:14 GMT
Controls behaving like in Delphi design time (move and sizable)
Hello!
I want to extend existing controls that they behave like in Delphi design How can I do that? Perhaps you've additionaly some code to make components transparent. Thanks for any help, Matthias. |
J Fren
![]() Delphi Developer |
Thu, 11 Dec 2003 03:53:31 GMT
Re:Controls behaving like in Delphi design time (move and sizable)Try this :- unit Unit1; interface uses type var implementation {$R *.DFM} procedure TForm1.Edit1MouseDown(Sender: TObject; Button: TMouseButton; Msg := 0 ; If Y < 5 Then If X > Edit1.Width - 10 Then If X < 10 Then If Y > Edit1.Height - 10 Then If Msg <> 0 Then end; procedure TForm1.Edit1MouseMove(Sender: TObject; Shift: TShiftState; C := crDefault ; If Y > ( TEdit( Sender ).Height - 10 ) Then If (X < 10) Or ( X > Edit1.Width - 10 ) Then Edit1.Cursor := C; end; end. On Sat, 23 Jun 2001 12:14:14 +0200, "Matthias Meinecke" Quote<matth...@netmediasystems.de> wrote: |
Trista
![]() Delphi Developer |
Fri, 12 Dec 2003 21:36:36 GMT
Re:Controls behaving like in Delphi design time (move and sizable)Good grief! I was just going to say "make them dockable"! QuoteJ French wrote in message <3b3490a6.17167...@news.u-net.com>... |
J Fren
![]() Delphi Developer |
Sat, 13 Dec 2003 04:34:33 GMT
Re:Controls behaving like in Delphi design time (move and sizable)On Mon, 25 Jun 2001 23:36:36 +1000, "Tristan" <moonsh...@apex.net.au> wrote: Quote>Good grief! Actually I have rather avoided 'docking' it narks me in the IDE. Quote
|
Bruce Robert
![]() Delphi Developer |
Sat, 13 Dec 2003 13:40:25 GMT
Re:Controls behaving like in Delphi design time (move and sizable)Quote"J French" <je...@iss.u-net.com> wrote in message Quote> Actually I have rather avoided 'docking' it narks me in the IDE. off. |
1. Control behaves differently if created at design time
2. Checking Design time parent of controls
3. Q: PREVENTING removing a control at design time
4. strange behavior when clicking on controls at design time
5. Getting list of controls liked to TDataSource
6. Interacting with Control at Design Time
8. Control's events on design-time.