How do you set the title of a workspace

Topics: Mobile Client Software Factory
Sep 28, 2006 at 8:01 AM
originally posted by: johnkattenhorn

Hi,

At the moment i'm using the load event of the Form to set the title of the view, is this the right way of doing it. I don't want it to use the default title set in the rootitemcontroller.

Thanks

John
Oct 3, 2006 at 2:48 AM
originally posted by: HargroveMJ

Hi John

Try something like:

SmartpartInfo myInfo = new SmartPartInfo("My Title","My Description");
MyWorkSpace.Show(mySmartPartView, myInfo);

I believe this will set the title of the view to "My Title" when the view loads.

Hope this helps
Regards
Mark
Oct 3, 2006 at 11:14 AM
originally posted by: johnkattenhorn

Hi Mark,

That's great, many thanks.

John
Dec 2, 2006 at 2:59 AM
originally posted by: Mehul2000

Thanks for the useful info.
I had the same prioblem and your info solved it !!

Thanks,
Mehul