Button hotspot label : how to change it?

Dear All,

I have created a Lotusscript application containings forms with one hotspot button.

My problem is that the label of this button depends on some profile parameters of the application. It means that the label string may change.

The problem is that the buttons labels cannot be calculated via a formula.

So, I have decided to use a layer over the button containg text field and hotspot link. As the text field can be computed via a formula, the button label is replaced by the field value and the button click by the hotspot link.

The problem is that the layer position is changing, depending on the OS on which the application is executed and depending on the fonts of Notes. For instance, with some fonts, the layer is not exactly on the button. It is not very user-friendly.

So, I have a question : is it possible to dynamically compute the label of a button? If some of you have a solution or are sure that it is impossible, please answer to me.

Thanks a lot for your time.

Mikaël Donini, Arkadin.

Subject: Two buttons and hide-when formulae

I’d simply create two buttons, one with each label I need, both containing the necessary (same?) code and each one hidden or displayed based on whatever criteria is determining the different label text.