FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Classes inheritance. How to ?
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Classes inheritance. How to ?
Posted: Mon May 15, 2006 09: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

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Classes inheritance. How to ?
Posted: Mon May 15, 2006 09:55 PM

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

EMG

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Classes inheritance. How to ?
Posted: 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

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10

Continue the discussion