--Set frame title of WorkScreen
1 post
• Page 1 of 1
--Set frame title of WorkScreen
This article is outdated - please use our new system at
https://doc.sibvisions.com
A work-screen doesn't have a title and it doesn't know the layout of the application which means that it doesn't know if it will be shown as window (= internal frame) or embedded as simple panel or something else. The application handles the whole layout.
But it's possible to change the title of the window. You have different options:
- It's always possible to search the parent frame via getParent() in a loop
- Another solution will be the application class
- Code: Select all
public void onShow() throws Throwable
{
IContainer con = ((ProjX)getApplication()).getContainer(this);
if (con instanceof IInternalFrame)
{
((IInternalFrame)con).setTitle("My workscreen title");
}
}
If your application or workscreen manager doesn't use frames, nothing will happen.
-
Development@SIB - Posts: 325
- Joined: Mon Sep 28, 2009 1:54 pm
1 post
• Page 1 of 1