UDF/User defined function libreoffice basic with built-in help/tip
<p>I did a function in LibreOffice calc. It works, but I would like to have a conext help/tip capability, like the built in LibreOffice functions. </p>

<p>Example: when I type "=besselk(" it appaears a tip BESSELK(X; N). Using the function wizard a function and arguments description does also appear.
<a href="https://i.stack.imgur.com/EKXyO.png" rel="nofollow noreferrer">Besselk</a>
<a href="https://i.stack.imgur.com/aPKl4.png" rel="nofollow noreferrer">besselk</a></p>

<p>Let's say I have a function to calculte a rectangle area</p>

<pre><code>function arearect(a, b)
arearect = a * b
end function
</code></pre>

<p>I would like to have something like this:</p>

<pre><code>function arearect(a, b)
FUNCTION DESCRIPTION "Compute rectangle area"
ARGUMENT DESCRIPTION "base length"
ARGUMENT DESCRIPTION "height"
arearect = a * b
end function
</code></pre>

<p>so, when I type "=arearect(" the argument description would appear and all descriptors would appear on Function Wizard.</p>

<p>thanks</p>