Hi Andrew,
> On this point I have no illusions about the scope of the work I am
> talking about. Truthfully I also have little expectation that it
> would make into a schedule anytime soon. Let me just give one small
> example of what I mean. Lets say I have a grid control on a data
> entry form. I want to know what rows the user may have highlighted. I
> drop a button on the form and call a sub procedure. How do I get the
> selected rows?
>
> Form.GridControl.Selection
>
> Nope
>
> thisComponent.CurrentController.getControl(thiscomponent.drawpage.forms.getByName("FormName").getByName(
> "gridcontrol")).Selection
>
> I know I made that a bit more then it needed to be, but hopefully you
> see my point. This isn't really the list
> to have this discussion on anyway I guess. I suppose it would be either
> API or UI.
([EMAIL PROTECTED] would probbaly be slightly better :), but [EMAIL PROTECTED]
would do
it, to)
I agree that the current API is way too complex, and the example you
gave is a wonderful one :-\
(
@Marc: sorry, I have to disagree with you: OOo's API really is for the
most fearless, only, and IMO it *should* be for the ones who are *not*
experienced and knowledged enough to solve their problem in C++ or Java
or Python or ...
)
I'm not sure if we can address this for the next version, but I'd love
to, since IMO it's part of my personal pet peeve "make it suitable as
application development platform".
At some point in time, I'm probably going to call for small examples
such as yours, which describe small problems which you expect small
solutions for, but which currently only have 3-line-solutions, at its best.
One thing at the top of my list would be the forms API, in particular
the distinction between model/control/shape, which is a wonderful
concept for *implementing* the form layer, but absolutely terrible for
*scripting* it.
Well, enough of the self-bashing.
Ciao
Frank
--
- Frank Schönheit, Software Engineer [EMAIL PROTECTED] -
- Sun Microsystems http://www.sun.com/staroffice -
- OpenOffice.org Database http://dba.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]