Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 3 of 3 total |
Right click support? |
Wed, Nov 23 2016 10:21 AM | Permanent Link |
Matthew Jones | Can I intercept the right click on a component? I see mention of right clicks on grids, but can't see any documentation on it.
I'd like to be able to add a pop-up menu on my folder tree to allow changes to details like it's name. -- Matthew Jones |
Thu, Nov 24 2016 9:02 PM | Permanent Link |
erickengelke | "Matthew Jones" wrote:
>Can I intercept the right click on a component? I see mention of right clicks on grids, but can't see any documentation on it. >I'd like to be able to add a pop-up menu on my folder tree to allow changes to details like it's name. Hi Mathew, I use Mouse Down events on my Grid. procedure MouseDown(Sender: TObject; Button: Integer; ShiftKey, CtrlKey, AltKey: Boolean; X, Y: Integer); begin if Button = mb_Right then begin // Menu1.Visible := True; Menu1.Top := Y + Grid1.Top; Menu1.Left := X; You often will want to disable the default right-click handler. How to do that is documented with Google, I haven't translated it to EWB yet because I don't need it for my intended browser. Erick |
Fri, Nov 25 2016 4:22 AM | Permanent Link |
Matthew Jones | erickengelke wrote:
> "Matthew Jones" wrote: > > > Can I intercept the right click on a component? I see mention of right clicks on grids, but can't see any documentation on it. > > > I'd like to be able to add a pop-up menu on my folder tree to allow changes to details like it's name. > > > Hi Mathew, > > I use Mouse Down events on my Grid. > > procedure MouseDown(Sender: TObject; Button: Integer; ShiftKey, CtrlKey, AltKey: Boolean; X, Y: Integer); > begin > if Button = mb_Right then begin > // > Menu1.Visible := True; > Menu1.Top := Y + Grid1.Top; > Menu1.Left := X; > > You often will want to disable the default right-click handler. How to do that is documented with Google, I haven't translated it to EWB yet because I don't need it for my intended browser. > > Erick Thanks, will look into that. -- Matthew Jones |
This web page was last updated on Thursday, October 10, 2024 at 02:11 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |