My environment: Windows 10, LibreOffice Version: 126.96.36.199 (x64) HSQLDB Version 2.3.2 Split Database
I am busy developing a macro to iterate through a form and change any HelpText property content to another language (depending on user preference).
What code would allow me to edit the HelpText property of a Control to a new text?
This is the only thing for which I seek help, the syntax to access the HelpText Control for edit.
This is the code I use to obtain the HelpText content of a given Control
Sub GetHelpText Dim oForm As Object Dim oField As Object Dim sGetValue As String oForm = ThisComponent.Drawpage.Forms.getByName("MainForm") oField = oForm.getByName("ButtonFileIt") sGetValue = oField.HelpText MsgBox(sGetValue) End Sub
Thank you for any help