Hi people
mmm... well in fact Frank, Drew, Marc...
where are the "real"/"common" users of macros in forms/...?
Is this apathy or is everybody on vacations?
By the way, Manuel invited French programmers to join this discussion
http://fr.openoffice.org/servlets/ReadMsg?list=prog&msgNo=6371
but seems they are on vacations too :-(

Frank Schönheit - Sun Microsystems Germany escribió:
search for the use of thisComponent in posts - both questions and responses and code snippets. Interestingly one can find, none scientific of exhaustive, that it seems to be used much less frequently on the Base forum then on the others ( Calc, Writer, Macro ) - It is not uncommon in the Base forum posts to see the use of the Event Structure.

Interesting to know.

I tend to think that people in forums do not publish they
"awful"/home-made code. Here I can't speak for the Spanish-Community,
but just checking ca. 60 mails I stored in order not to repeat
myself/just copy and paste when the same question comes over and over:
only a few use the event object.

In fact I've found myself most of the time teaching how to use it (and
without much success preaching to use it).

The reason I get most often are:

* the user can not test in the IDE how the code would work because the
event does not get initialized if you just start running the macro from
the IDE (yes, you can set a breakpoint in the first line, and execute
the macro from the control it is binded to, ... but user's complain
[=many times the macro gets executed without stopping in the brake point
at all] seems to be true, at least the first time you execute the macro,
only the second time it stops).

* when the form layer has sub-forms it is hard to use getParent() to
access other objects from the event object [1]

You may say these are not very "clever" users, but most code I get from
"common" users is code written from people without any programming
knowledge at all, and that most of the time it's the first time they
have to code (I hear very often they used to do things without macros in
MSAccess that in OOo[Base] requires some programming).


Regards
Ariel


[1] Just a sample
http://es.openoffice.org/servlets/ReadMsg?list=users&msgNo=5746



--
Ariel Constenla-Haile
La Plata, Argentina

[EMAIL PROTECTED]
[EMAIL PROTECTED]

http://www.arielconstenlahaile.com.ar/ooo/



"Aus der Kriegsschule des Lebens
                - Was mich nicht umbringt,
        macht mich härter."
                Nietzsche Götzendämmerung, Sprüche und Pfeile, 8.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to