TListView initialization during FormCreate
From: Android Cat (androidcat98_at_hotmail.com)
Date: 09/29/04
- Next message: Jamie: "Re: TListView initialization during FormCreate"
- Previous message: Jeremy Collins: "Re: Help please. Delphi Newbie"
- Next in thread: Jamie: "Re: TListView initialization during FormCreate"
- Reply: Jamie: "Re: TListView initialization during FormCreate"
- Reply: Bjørge Sæther: "Re: TListView initialization during FormCreate"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 29 Sep 2004 14:01:32 -0400
During testing of an app, I noticed that a TListView with items on my main
form gets initialized _sometime_ during the main form's FormCreate. e.g.
The listview has items added during design. If I check at the start of
FormCreate, myview.items.count = 0. If I check at the end (after a small
amount of code: open a log file, seek to the end), count = 16 with the
design data there.
This doesn't really make a difference to my app because the listview won't
be initialized with the design data once it's finished, but I'd like to know
what magical event triggers the listview initialization for future
reference.
-- Ron Sharp.
- Next message: Jamie: "Re: TListView initialization during FormCreate"
- Previous message: Jeremy Collins: "Re: Help please. Delphi Newbie"
- Next in thread: Jamie: "Re: TListView initialization during FormCreate"
- Reply: Jamie: "Re: TListView initialization during FormCreate"
- Reply: Bjørge Sæther: "Re: TListView initialization during FormCreate"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|