Classes inheritance. How to ?

Postby James Bott » Mon May 15, 2006 9:42 pm

Enrico,

>No, you will only need it if you are going to make a control.

And apparently you need it only sometimes when it is a control. For instance, the DBCombo class inherits from the TCombobox class but doesn't have lRegistered (and it works fine). Perhaps lRegistered should be added, but one wonders why it works without it.

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby Enrico Maria Giordano » Mon May 15, 2006 9:55 pm

Because you are inheriting from a standard Windows control and not creating a new custom control.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby James Bott » Mon May 15, 2006 11:08 pm

Enrico,

>Because you are inheriting from a standard Windows control and not creating a new custom control.

Thanks for clarifying that.

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 30 guests