Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Change caption on TabWorkspace
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Change caption on TabWorkspace

 Post Reply Post Reply
Author
Message
mxcolin View Drop Down
Newbie
Newbie
Avatar

Joined: 08 June 2006
Location: United Kingdom
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote mxcolin Quote  Post ReplyReply Direct Link To This Post Topic: Change caption on TabWorkspace
    Posted: 08 June 2006 at 9:41am

I want to change the caption on the TabWorkspaceItem when I handle the NewItem Event. However I have potentially different form types that are loaded. There is only however the handle property that is passed to the NewItem event in the TabControlItem that refers to the actual form that is being shown. So I have no way of telling what type of form is actually being shown to get the correct caption.

I would use the caption property but if I set it after the form has been shown then the blue XP caption bar appears in the workspace which obviously isn't right.

Any ideas how I can get the type of form being shown or stop the caption bar from appearing.

Colin

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.049 seconds.