How to disable visual inheritance

  • Thread starter Thread starter Fred Flintstone
  • Start date Start date
remove the Inherits 'Yourformname' from the Class statement which inherits
the form.

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing
 
* Fred Flintstone said:
I'd like to decide how my controls look. How do I disable this
feature?

Inherit from the control and override its 'OnPaint' method. Place your
own drawing code there. Some controls provide an ownerdrawn mode, for
example the listbox and combobox. You can use this mode ('DrawMode'
property) to draw the items in the list yourself.
 
Back
Top