Doug Lindauer
Programmer
Ok, I'm stuck on this one. Is there some way to a add a property to a class at design time so that it appears in the properties list and is available to other objects in the class at design time?
This is my first attempt to make my own class. It occurred to me that it would be handy to incorporate a label with a grid and that the label would know what table was in the grid and could do things to the table if you double clicked it. So I've started with a container object and stuck a grid and a label in it. I want to add code to the double click event of the Label object but that procedure doesn't seem to have any way to refer to the properties of the grid.
If I can get this working, I want to add a list control which shows the available indexes for the table to allow a user to choose an index. But first things first I suppose.
This is my first attempt to make my own class. It occurred to me that it would be handy to incorporate a label with a grid and that the label would know what table was in the grid and could do things to the table if you double clicked it. So I've started with a container object and stuck a grid and a label in it. I want to add code to the double click event of the Label object but that procedure doesn't seem to have any way to refer to the properties of the grid.
If I can get this working, I want to add a list control which shows the available indexes for the table to allow a user to choose an index. But first things first I suppose.