James Black wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Oliver Brinzing wrote:

Hi James,



xPSetButton.setPropertyValue(" PositionX ", new Integer(50));
This causes a failure.


it's no good idea to use blanks at the start/end of a properties name... :-)
the properties are case sensitive too, as far as I know ...

I remember there are some more examples in the sdk showing how
to create OO dialogs ... so have a look ...


  I had gotten my example from Chap 11.6, and in my pasting the spaces
ended up there.

  I didn't know if it would make sense to just use a trim() function on
the name, since it appears that whitespace at the beginning of a
property name will throw an exception.

you didn't really wonder about that ...

Juergen


- --
"Love is mutual self-giving that ends in self-recovery." Fulton Sheen
James Black    [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC5nhmikQgpVn8xrARAoImAJ9ujT1Gn4eze0ZxuSjYVsB3fb58ZwCdFRfj
LufBL5PyheyEW4/J47fUulk=
=2Dxr
-----END PGP SIGNATURE-----

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


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

Reply via email to