Hey Steve,
The Label control already has several mouse events available (MouseDown, MouseEnter, MouseLeave, MouseMove, MouseUp, and MouseWheel). What other mouse event might you be looking for?
If you're talking about event code from a parent class in your inherited class, that would inherit the same as other methods of the parent class (although it's normally a better practice to have the event call a custom method rather than placing code in the event itself).
If you're trying, however, to populate or augment the event code at runtime, I'd look at the BINDEVENT() and RAISEEVENT() functions in VFP 8. That should give you all the runtime-level control that you might require.
HTH. On an aside -- how's things since the YRF? (g)
>Hello:
>
>I am programmatically creating labels from my own inherited label class. I need to create a mouse event for each new inherited label. My question is: can a programmatically created label inherit a mouse event. If not, how can I create a mouse event programmatically for each new label.
>
>Thanks,
>
>Steve Ellis
Evan Pauley, MCP
Positronic Technology Systems LLC
Knoxville, TN
If a vegetarian eats vegetables, what does a humanitarian eat?