In a message regarding Re: Grid Control: desired feature set dated Mon, 14
May 2007 08:46:58 -0600, [EMAIL PROTECTED] said that ...

> I can certainly imagine something that relies entirely on the
> equivalent of CellBackgroundPaint and CellTextPaint for its content,
> but also supports variable row heights, merging of cells,
Providing a merged cell (or a cell in a resized row) provided a graphics
object that was the exact size of the cell, I'd think that was ideal.

> and maybe
> even freezing of N top rows and M left columns.
That's fairly important too

> Would we also require the ability to freeze some bottom rows and
> rightmost columns?
Nice if the implementation was relatively trivial but (imho) probably less
than essential.

> As for embedding of controls in a cell -- that one is really hard,
> especially cross-platform.  I understand why you want it sometimes;
> it's just quite difficult to do.  Still, if it's important, and effort
> were put in to enabling it from the very beginning, it could be doable
> for at least most controls.
Personally, I'd live without embedded controls but I doubt I'm
representative here.

> While we're at it, let's define more selection types:

> 0 - no selection allowed at all
> 1 - single row
> 2 - multiple rows
> 3 - single column
> 4 - multiple columns
> 5 - single cell
> 6 - any contiguous block of cells
> 7 - discontiguous (arbitrary) cells
Pretty good list ;)

> > How it behaves, e.g. how it scrolls or populates itself, would
> > be for each one of us to implement.
No doubt the designer would offer a sample application with at least one
scrolling idea in it though ;)

> Controlling scrolling can be complex, since it goes both ways (e.g. the
> user may scroll the content using the scrollbar, or by using the arrow
> keys once a selection is established, or even while drag-selecting with
> the mouse).  So I think you'd want this relationship between the
> content and the scrollbars to be managed by the grid control.  However,
> I can certainly imagine the scrollbars being separate controls, so that
> you can size and position them however you like.

> What do you think?  I'm pushing on this because, to be frank, I'm so
> tired of the whining about it that if we can agree on a reasonable
> spec, I'll consider writing the dang thing and publishing it as open
> source.
I'd guess you've covered most of the basics. Anyone should then be able to
subclass and add such methods as they need to make it fit their needs.

Hopefully, we should be able to add decent input into development of the
control too.

So when you've got a few minutes spare, Joe...
;) 

-- 
Steve Garman
Using REALbasic Professional on Windows XP Pro


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to