Click event on tabworkspace |
Post Reply |
Author | |
Ajornet
Newbie Joined: 06 June 2005 Location: France Status: Offline Points: 16 |
Post Options
Thanks(0)
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
|
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
Set ShowExpandButtonAlways to False to hide button.
Use activate event of mdi child to determine when a tab is clicked. |
|
Ajornet
Newbie Joined: 06 June 2005 Location: France Status: Offline Points: 16 |
Post Options
Thanks(0)
|
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
|
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
How about using the SelectedChanged event to detect when a different tab is clicked?
|
|
Ajornet
Newbie Joined: 06 June 2005 Location: France Status: Offline Points: 16 |
Post Options
Thanks(0)
|
Hello,
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
|
|
Ajornet
Newbie Joined: 06 June 2005 Location: France Status: Offline Points: 16 |
Post Options
Thanks(0)
|
Hello,
what about this lack ? It seems the event is not fired, no ? If it is, where i'm wrong ? Daniel |
|
Daniel
|
|
Ajornet
Newbie Joined: 06 June 2005 Location: France Status: Offline Points: 16 |
Post Options
Thanks(0)
|
Hello,
Yes I was wrong, the event is well fired, but e.item is a TabControlItem not an Integer. Daniel |
|
Daniel
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |