value from dialog

Creating a macro - Writing a Script - Using the API (OpenOffice Basic, Python, BeanShell, JavaScript)
Post Reply
briglia23
Posts: 155
Joined: Tue Jun 24, 2008 10:09 am

value from dialog

Post by briglia23 »

Hi.

I have a dialog with 2 radio button and a textarea.
I want save how radio button i have selected and i want save what i wrote in the text area.
Can you help me?

Thanks
OOo 2.3.X on openSuse 10
User avatar
Villeroy
Volunteer
Posts: 31269
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: value from dialog

Post by Villeroy »

Install XRay and assign the option buttons event "Item status changed" to the following routine:

Code: Select all

Sub option_Changed(oEvent)
GlobalScope.BasicLibraries.loadLibrary("XrayTool")
xray oEvent
End Sub
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Post Reply