Hi,
i want to close active (or inactive) tabs by clicking on tab caption by mouse wheeler. What is the best solution for this?
How to calculate tab caption area under mouse cursor?
Regards
J
Close Page on TNxPageControl by Mouse wheel button click
Started by jerz, Sep 06 2011 05:51 PM
1 reply to this topic
#1
Posted 06 September 2011 - 05:51 PM
#2
Posted 06 September 2011 - 09:40 PM
Hi,
You may use next code:
For next release I will add OnTabClick event.
Best regards
You may use next code:
var Tab: TNxTabSheet; begin Tab := NxPageControl1.GetTabAtPos(X, Y);
For next release I will add OnTabClick event.
Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











