Thanks Sam and D.Bane for the samples =)
D.Bane is right the 'listBox' parameter is passed in for convenience, and you can use it instead of 'listBox1' or 'this.listBox1' but the main reason for it is so that you can use the same method for multiple controls, e.g.
- Code: Select all
listBox1.NotifyClicked = AnyListBoxClicked;
listBox2.NotifyClicked = AnyListBoxClicked;
(You can experiment with the Methods Sheet's detach and attach buttons)
Then you know which list box sent the notification

But it's fine as well to use 'listBox1' (which translates to this.listBox1) if you want to be explicit.
Sam, you can bring up the auto-complete with
Ctrl-Space, which lists all identifiers available in the current context, and if you have started typing anything it will auto-complete it.
Ctrl-Shift-Space is to bring up the instantiation members and function parameters. The auto-complete is a bit buggy right now, it will be part of the focus of 0.44 pre-release 2 to fix most of the bugs.
Our milestones ahead:
https://launchpad.net/ecere/+milestones