Thank you.
Disable grid selection on right click
Started by Thrawn123, Sep 24 2008 09:31 PM
4 replies to this topic
#1
Posted 24 September 2008 - 09:31 PM
Is there a way to disable row selection on right click? All I want to happen when a user right clicks is to have a popup menu shown, but currently, the row is being selected/unselected and the popup is being shown.
Thank you.
Thank you.
#2
Posted 25 September 2008 - 11:30 AM
QUOTE (Thrawn123 @ Sep 24 2008, 10:31 PM) <{POST_SNAPBACK}>
Is there a way to disable row selection on right click? All I want to happen when a user right clicks is to have a popup menu shown, but currently, the row is being selected/unselected and the popup is being shown.
Thank you.
Thank you.
In TNxCustomGrid.MouseDown, there is a commented line :
CODE
{! if (Button = mbRight) and (gtMultiSelect in GridState) then Exit; !}
Just uncomment this line
#3
Posted 25 September 2008 - 03:20 PM
Hello Thrawn,
Unfortunatelly unles using Bertrods quck fix there is no other way.
Durring time users more wanted having selection moved.
Best regards
Unfortunatelly unles using Bertrods quck fix there is no other way.
Durring time users more wanted having selection moved.
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.
#4
Posted 25 September 2008 - 07:47 PM
QUOTE (Boki (Berg) @ Sep 25 2008, 07:20 AM) <{POST_SNAPBACK}>
Hello Thrawn,
Unfortunatelly unles using Bertrods quck fix there is no other way.
Durring time users more wanted having selection moved.
Best regards
Unfortunatelly unles using Bertrods quck fix there is no other way.
Durring time users more wanted having selection moved.
Best regards
I can use this fix for now: if (Button = mbRight) then Exit;
But are there plans to add this as an option? Maybe goDisableRightClickSelect
#5
Posted 26 September 2008 - 01:44 PM
Hello Thrawn,
I will see what can I do.
Best regards
I will see what can I do.
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.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











