We have a form that contains several tabpanels used as containers (ie. tabOrientation: HIDE). Each of these tabpanels has a different toolTip associated with it. The toolTips work as long as there is nothing in the tabpanels. As soon as we place a form in the tabpanel, the toolTip for that tabpanel stops working. Is this a bug?
We are using tabpanels to hide/show different sections of the form. We are required to display a toolTip whenever a user hovers over that section of the form (when visible). Is there another way to accomplish this?
thats not a bug, but just the way it works by default.
When you place a form in a tab which hides the tabs, the form completely hides the tabpanel itself because it is just as big and wraps it completely
and a tooltip only shows of a visible toplevel component, so when it wants to show a tooltip it does ask the form but not the tabpanel beneath it.
We are in the process of moving our product from Visual FoxPro to Servoy and are struggling with some of Servoy’s object constructs (as opposed to VFP). For instance, in VFP, there is a container object in which other objects can be placed. The container object properties are not affected by any of the contained object properties. For example, in VFP, the container object ToolTip property is unaffected by any of the contained objects or their properties.
If anyone knows of an alternative method for doing this, please let me know…thanks!
…so when it wants to show a tooltip it does ask the form but not the tabpanel beneath it.
Before posting this thread, I searched for a way to assign a ToolTip to the underlying form in the tabpanel but could not find anything. How do you assign a form a ToolTip?
a form doesnt have a tooltip property
What you could do is create a case asking if we can set the tooltip of the tabpanel on the form when the form is shown and the tabpanel has a tooltip defined.
This is not something servoy does or doesnt do, its just Java/Swing and basic UI things. If you don’t show or completely hide an object with another object then that object
cant show a tooltip because it is not on the screen (it doesnt contribute pixels where you can hoover over)
But we could work around it by using a fallback ourself when a tooltip is asked for a form.