![]() |
CustomListBox
hallo,
ich habe eine TMyListBox klasse erstellt die von TListBox abgeleitet ist. nur wird mein CustomListBox nicht angezeigt. der code wird mehr sagen.
Code:
unit MyListBox;
interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, cxControls, cxContainer, cxListBox, cxDBEdit, adscnnct, DB, adstable, adsdata, adsfunc, Grids, DBGrids, MyMemo; type TMyListBox = class(TListBox) private public end; implementation end.
Code:
ich meine, ich hab was vergessen. nur weiss ich nicht was.
procedure TForm1.FormCreate(Sender: TObject);
var MyListBox : TMyListBox; begin MyListBox := TMyListBox.Create(self); with MyListBox do begin Left := 24; Top := 136; Width := 249; Height := 505; ItemHeight := 13; TabOrder := 2; end; { } end; gruß inriz |
Re: CustomListBox
Ohne Parent keine Anzeige...
Grüße vom marabu |
Alle Zeitangaben in WEZ +1. Es ist jetzt 15:43 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz