Re: [api-dev] How set a Default Value to a FormControl ListBox

2009-01-05 Thread Frank Schönheit - Sun Microsystems Germany
Hello Fernand, but even manual entered list entries the famous button gives an ugly beep as respons, is this a bug or are am i doging something wrong ? hmmm, no problem here with using this Sounds like, well, at least a oddity of your installation/environment/version. Ciao Frank

Re: [api-dev] How set a Default Value to a FormControl ListBox

2008-12-18 Thread Jason Stephenson
You could also try something like this: Sub DoThing Dim Form As Object Dim ListBox As Object Dim Controller As Object Dim ListBoxControlModel As Object ' Get controller for the current document Controller = ThisComponent.getCurrentController() ' Assuming first or

Re: [api-dev] How set a Default Value to a FormControl ListBox

2008-12-18 Thread Fernand Vanrie
Thanks, for the exelent explainations, but even manual entered list entries the famous button gives an ugly beep as respons, is this a bug or are am i doging something wrong ? Frank Schönheit - Sun Microsystems Germany wrote: Hi Fernand, again the secrets are in the control :-)

Re: [api-dev] How set a Default Value to a FormControl ListBox

2008-12-17 Thread Jason Stephenson
You could also try something like this: Sub DoThing Dim Form As Object Dim ListBox As Object Dim Controller As Object Dim ListBoxControlModel As Object ' Get controller for the current document Controller = ThisComponent.getCurrentController() ' Assuming first or