at 30.01.2001 18:54 Uhr, Charles Yeomans wrote:
> An alternative would be to rethink your code.
Hi Charles,
thanks for your thoughts! I already looked at your VLOP-classes and they are really cool...
Rethinking the code is what I am doing currently. I wanted to split up my VCursorBrowser - code, so that displaying the cursor is more flexible:
i.e.: - currently it shows ALL fields of the current cursor in the same style - What I want is to have a field - say 'email' which has its own methods and creates a hyperlink from the saved string...
- dto. goes for the field-widths etc...
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) - VField-Subclass (which has special methods for different sub-types - i.e. 'mail' or 'http' etc...)
In my CListCanvas I already did something like this. It sends a 'DrawRow'-Event for every row drawn... maybe I go back to the CListCanvas-class...
If anybody has an idea how to accomplish the task so that we have all the options above, please don't hesitate posting your ideas. I think this would be a VERY flexible all-purpose cursorbrowser
Any idea appreciated...
-- Andy Fuchs -- silent movie media -- mailto:smm AT regioonline D.OT de -- http://www.silent-movie-media.com
------------------------------------------------------------- The Valentina mailing list is brought to you by MacServe.net For info on lists services, see http://www.macserve.net/lists.html ©2001 Andy Fuchs |