main logo
Subject: Re: [V4RB] Subclassing fields
Author: Ruslan Zasukhin
Posted: 2001/01/31 06:09:51
 
View Entire Thread
New Search


on 31/1/01 12:52, Andy Fuchs at smm (AT) regioonline .D.O.T de wrote:

> That's why I wanted to split VCursor in 3 classes:
> - DisplayClass (shows the complete pane and handles scrolling etc...)
> - VCursor-Subclass (which handles all special code for cursors)

Andy, Andy!

> - VField-Subclass (which has special methods for different sub-types - i.e.
> 'mail' or 'http' etc...)

This is not a OO way!

One class must not answer for DIFFERENT behaviors.
You must have one class for each such behavior.

E-Mail field
HTPP field
...


may be better wait a little until I will be able fix that problem in Cursor
with custom fields ? I very hope that RB will allow me to do this.


--
Best regards,
Ruslan Zasukhin

-------------------------
Paradigma.

e-mail: ruslan@paradigmasoft.com
web : http://www.paradigmasoft.com

To subscribe to the Valentina mail list
send a letter to valentina-on (AT) lists .D.O.T macserve.net



-------------------------------------------------------------
The Valentina mailing list is brought to you by MacServe.net
For info on lists services, see http://www.macserve.net/lists.html
 
©2001 Ruslan Zasukhin
<-- Prior Message New Search Next Message -->