Caption of Tabbed Table

I have created a tabbed table (6 tabs), each tab containing a description field. As a user enters info into the description field, I would like for the caption to change according to the description. Is this possible?

Subject: Caption of Tabbed Table

Hi,

as already said it is not possible with notes standart functionality. However you could try a workaround. (even if it would have some disadvantages)

In previous versions you would have to create your own tabs as pictures and put hottspots on it…

In R6 you could try something like this:

(I tried it and it works fine nevertheless I never used it an application)

  1. Create a tabbed table and as “Tab label and caption” use for the first tab one SPACE (" “), for the second two spaces (” ") and so on …

(This way you get empty tabs which still can be switched programatically)

2.Make the table “switch rows programatically + user can see tabs” and create a field with the proper name “$Tablename”

3.Create a LAYER and make it as small as one Tab. Now place the layer exactly over the first tab. Inside of the layer create a “computed text” item and put an hotspot around it. The hotspot has to fill the $Tablename-Field with a new value and then run Refresh on the form.

… Now do the same thing for all tabs.

It works fine and looks exactly like if the tabs were editable because the layer is TRANSPARENT and displays only your text.However there are some serious disadvantages:

A) It works only if the document is in editmode.

(Main reason why it is unusable most times)

B) Not the whole area of the tab acts as a hotspot but only the text inside. The user has to click more exactly. (not really a problem)

C) Its just a workaround and it is not easily done :-)))

!!! If you want to give it a try AND find some solution for point A then please post it.

Hope this helps.

Hynek

Subject: RE: Caption of Tabbed Table

Thanks for your post on this. I’ll admit, for a beginner, this is above me, but as intriguing as it seems–just for curiosity and experience it will be something for me to work with. Diane

Subject: RE: Caption of Tabbed Table

Hi,

one solution for point A could be:

1.) Make your hotspot set an environment variable with the name of the tab you wish to choose.

2.) Make your Field “$tablename” in your form computed for display - its value has to be the environment variable you set in Step 1.

In Order to change the tab in Readonly Mode, the hotspot has to close and re-open the document. In Editmode you can set the field directly via the hotspot.

Regards,

Ralph

Subject: Caption of Tabbed Table

I don’t know of any standard way to do this since the tab names are part of the form. It would be really nice though.

Subject: RE: Caption of Tabbed Table

I was hoping that there would be a statement such as tab1.caption = field1. No such statement exists in Lotus?? Diane

Subject: RE: Caption of Tabbed Table

There is no way with the standard package. It is possible to use a third party product such as our Midas Rich Text LSX to do this (see http://www.GeniiSoft.com) if it is important enough.