text toolbar in FID?

I have set a form-in-dialog to run a method onShow that makes the text toolbar visible (it is usually hidden).

What happens is that the toolbar appears in the originating form, not the FID.

I thought this might have something to do with the fact that the FID is from a module of the originating solution, but have tested this in a single solution with the same result.

Is there a way to show the text toolbar in a FID?

Thanks,

Jim

Have a look at the sample code of application.showFormInDialog. One of the options allows you to show the text toolbar.

Thank you, Patrick! That does it.

You don’t suppose that there is a way to supress the originating form from showing the toolbar, in the background? (Sort of like “Freeze Window” in FileMaker.) It would be less visually distracting to have that form remain static while the user is in the FID.

Jim

Whoa! Whereas the behavior was as noted in previous post right after changing the method, now it works as expected. So, it appears I spoke too soon about the need to suppress the originating form from showing the toolbar.

Thanks again,

Jim

Now that I have the toolbar visible, I’d like to be able to use it. But it is greyed out when in data entry mode. I can select an item in design mode, and the text toolbar lights up and becomes available. But back in data entry mode… nothing.

Clues appreciated.

Jim

From memory I think you have to set the field display type as RTF or HTML and not just TEXT_AREA.

Graham Greensall
Worxinfo Ltd

Thanks, Graham. That does it! Except that if one wants to format a field as a calendar or checkbox, formatting would not be available via the toolbar.

Does formatting as RTF or HTML impact performance appreciably? It is more info to pass, after all…

Thanks,

Jim

You won’t notice any difference in performance I guess.

What you will notice and have to bare in mind is the fact that this is an implementation of html and rtf by Sun. In other words it is only a subset of html and rtf.