Sorry if this is a dumn question.
In c#, if I have a form with an imbedded StiDesignerControl it appears that the designer control is taking over the Text of the form.
For example, I create a simple project, containing one form with a Text property of "Test" and containing a stiDesigner control. As soon as I launch the application the Forms text property (i.e the name shown next to the icon in the form header) is showing "Designer". If I then open TestReport.mrt the text of the form reads "TestReport.mrp - Designer". Can I stop it doing this so it just displays "Test" when I run the application.
Thanks
Robin
Embedded designer changing form display name
-
- Posts: 38
- Joined: Thu Apr 02, 2009 5:54 am
Embedded designer changing form display name
Hello Robin,
Please use following code:
Thank you.
Please use following code:
Code: Select all
StiOptions.Designer.DesignerTitle = "Test";
Thank you.
-
- Posts: 38
- Joined: Thu Apr 02, 2009 5:54 am
Embedded designer changing form display name
I can do that but if I open TestReport.mrt the title changes to
TestReport.mrt - Designer
Surely putting a component onto a form should not effect the Text property of the form.
Thanks
Robin
TestReport.mrt - Designer
Surely putting a component onto a form should not effect the Text property of the form.
Thanks
Robin
Embedded designer changing form display name
Hello,
Please use following expression instead previous:
Or get next prerelease build.
Thank you.
Please use following expression instead previous:
Code: Select all
StiOptions.Designer.DesignerTitleText = "Test";
Thank you.
-
- Posts: 38
- Joined: Thu Apr 02, 2009 5:54 am
Embedded designer changing form display name
Thank you very much Jan