Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi kompo an verschiedene kompos andocken (https://www.delphipraxis.net/108655-kompo-verschiedene-kompos-andocken.html)

Matthias-k 17. Feb 2008 11:02


kompo an verschiedene kompos andocken
 
moin,

ich hab folgende frage:

und zwar hab ich eine kompo für die tms grids entwickelt. ich möchte aber, das diese auch für normale dbgrids geht.

jetzt hab ich eine property hinzugefügt.

Delphi-Quellcode:
  advGrid : TDBADVGrid;

  property Grid : TDBADVGRID read advgrid write setadvgrid;
kann ich es irgendwie erreichen, das ich der variablen advgrid auch sagen kann, das sie normale dbgrids nehmen kann?
ich weis ne, ob ich mich klar verständlich gemacht habe.

2.problem:

wenn ich das grid lösche, auf welches sich meine kompo bezieht, gibts eine nette exception. obwohl ich schon ein notifikation procedure hinzugefügt habe.

mfg matthias


Alle Zeitangaben in WEZ +1. Es ist jetzt 05:56 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz