Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - Click event on tabworkspace
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Click event on tabworkspace

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

Joined: 06 June 2005
Location: France
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ajornet Quote  Post ReplyReply Direct Link To This Post Topic: Click event on tabworkspace
    Posted: 19 June 2005 at 3:37pm
Hello,
How can we trap click events on TabWorkspace ? I see the help for the right-click but not for the click ? How can we do if we want change the GUI when the tab changes.

And how can we delete the little button at the right of a toolbar used for "Add or remove buttons" ? I don't need them.

Thank you
Daniel
Daniel
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 19 June 2005 at 9:39pm
Set ShowExpandButtonAlways to False to hide button.
Use activate event of mdi child to determine when a tab is clicked.
Back to Top
Ajornet View Drop Down
Newbie
Newbie
Avatar

Joined: 06 June 2005
Location: France
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ajornet Quote  Post ReplyReply Direct Link To This Post Posted: 20 June 2005 at 1:03am
Hello,

thanks for  'ShowExpandButtonAlways'.

The Activated Event is not useable on TabWorkSpace that are not used with MDI like here http://forum.codejock.com/forum_posts.asp?TID=2338 &PN=1, so how can I do in this case?

Daniel
Daniel
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 20 June 2005 at 4:17pm
How about using the SelectedChanged event to detect when a different tab is clicked?
Back to Top
Ajornet View Drop Down
Newbie
Newbie
Avatar

Joined: 06 June 2005
Location: France
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ajornet Quote  Post ReplyReply Direct Link To This Post Posted: 21 June 2005 at 4:20am
Hello,

Originally posted by SuperMario SuperMario wrote:

How about using the SelectedChanged event to detect when a different tab is clicked?


No, I can't intercept this event. I've put  a MsgBox(e.item) but get nothing.

I've coded this TabWorkSpace as the other thread.

Daniel
Daniel
Back to Top
Ajornet View Drop Down
Newbie
Newbie
Avatar

Joined: 06 June 2005
Location: France
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ajornet Quote  Post ReplyReply Direct Link To This Post Posted: 21 June 2005 at 4:46pm
Hello,
what about this lack ?

It seems the event is not fired, no ?

If it is, where i'm wrong ?

Daniel
Daniel
Back to Top
Ajornet View Drop Down
Newbie
Newbie
Avatar

Joined: 06 June 2005
Location: France
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ajornet Quote  Post ReplyReply Direct Link To This Post Posted: 22 June 2005 at 1:39am
Hello,

Yes I was wrong, the event is well fired, but e.item is a TabControlItem not an Integer.

Daniel

Daniel
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.188 seconds.