Hi Florian, > Unfortunately, this is not a solution because I don't want to introduce > restrictions on the design of the forms.
Hmm, that's bad. So using the "Tag" property is probably also not an option? > I guess I will use a workaround > to calculate an identifier using name and position of the control In this case, I suggest you still use the names, but bracket them with the number of element which has a given name. That is, imagine two controls named "foo", below a logical form named "Standard", then your identifiers would be "Standard/foo(1)" and "Standard/foo(2)". This is less prone to changes in the form hieararchy, than a pure index-based approach would be. > or extract the identifier from the raw XML. It might be difficult to draw the connection between the XML description of a form control and the actual form control instance at runtime, so I am not sure this would work. 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]
