Can I surpress this event in an Excel listview

AlexanderBB

Well-known Member
Joined
Jul 1, 2009
Messages
2,058
Office Version
  1. 2019
  2. 2010
Platform
  1. Windows
I have FullRowSelect on and this enables a button to do things with data in that row,
But if it is clicked again (while highlit), a small text box opens beside the checkbox in column 1.
This isn't wanted, can it be prevented anyhow?

Thanks for any help.
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
A textbox that allows you to edit the selected entry? If so, it sounds like you need to change your LabelEdit property from lvwAutomatic to lvwManual
 
Upvote 0
Solution
Youre very welcome. I found the answer to your other question re the inkedit control, by the way. I was right - you can get that info via the Text Object Model. The code works out to be a little longer than what you ended up using, I think, but on the whole, using the text object model is on balance better than trying to juggle API calls. Let me know if you're interested.
 
Upvote 0
I admire your know-how on these controls. I found it very hard to get good info on them as they refer to different platforms.
I'd like to see what you have on text object model (not heard of it till now). The InkEdit HitTest you gave me is working well and made what I was doing that much better.
 
Upvote 0

Forum statistics

Threads
1,223,610
Messages
6,173,336
Members
452,510
Latest member
RCan29

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top