Re: [api-dev] Adding two radio buttons on a dialog

2006-12-19 Thread Berend Cornelius
Hi Tobias, apart from your failure I noticed that you assigned the model properties by means of the interface com.sun.star.beans.XPropetySet. The interface com.sun.star.beans.XMultiPropertySet would be much more performant because by using setPropertyValues() you can assign all control

Re: [api-dev] Adding two radio buttons on a dialog

2006-12-19 Thread Tobias Krais
Hi Berned, thank you for this useful hint! I integrated it. Greetings, Tobias Berend Cornelius schrieb: Hi Tobias, apart from your failure I noticed that you assigned the model properties by means of the interface com.sun.star.beans.XPropetySet. The interface

[api-dev] Adding two radio buttons on a dialog

2006-12-18 Thread Tobias Krais
Hi together again, I want to add two radio buttons on a dialog with the target, that the user can choose one. But only one button is shown. What am I doing wrong? -%- // create the dialog model and set the properties Object dialogModel = xMultiComponentFactory.createInstanceWithContext(

Re: [api-dev] Adding two radio buttons on a dialog

2006-12-18 Thread Tobias Krais
Hi again, I want to add two radio buttons on a dialog with the target, that the user can choose one. But only one button is shown. xPSetPP01.setPropertyValue( Name, _radioPrint01 ); xPSetPP02.setPropertyValue( Name, _radioPrint02 ); I found the failure. The variables _radioPrint01 and