CPHennessy wrote:
On Sat July 29 2006 22:11, + John Wright wrote:
[ MODERATED ] ********************
dbg_properties and dbg_methods for an object gives a fixed width
non-scrollable window If there are a considerable number of properties or
methods, the bottom of the window is off screen and therefore unreadable.
A workround is to reduce the font size of messages in Windows - a bit
drastic
In addition, the list of methods/properties produced is almost unreadable
as there is no formatting.
(I know of no other way to find a list of properties or methods)
Hi John,
The [email protected] mailing list is the best one for macro related
questions.
Please reply to [email protected] only
As CPH mentioned, Macro questions are better suited to the dev mailling
list. You can also try the oooforum...
Most people that inspect these properties parse them because they are
very long strings. For example:
Dim s$
s$ = ThisComponent.Dbg_Properties
MsgBox s$, 0, "Properties as they are"
REM Remove extra CHR$(10)
s$ = Join(Split(s$, CHR$(10)), "")
MsgBox Join(Split(s$, ";"), CHR$(10))
This is just a sample of what I do personally in my own inspection
routines. I have a macro called Inspect on my web site in my personal
libraries.
Many people like to use XRay, a commonly available routine written by a
brilliant man and made available for free. I can not comment on it,
however, because I wrote my own routines that I use.
--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
My Book: http://www.hentzenwerke.com/catalog/oome.htm
Info: http://www.pitonyak.org/oo.php
See Also: http://documentation.openoffice.org/HOW_TO/index.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]