Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 278081
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T01:10:50+00:00 2026-05-12T01:10:50+00:00

The situation is a bit hard to explain, I’ll do my best. I have

  • 0

The situation is a bit hard to explain, I’ll do my best.

I have a ListView, which has a right click menu. One of the menu item opens a new non-modal form. Usually the user clicks the menu item, new form shows up and is fine.

However, if user brings up right click menu by clicking on an area of the ListView where there is no ListItem showing, e.g. below the last ListItem, then click the menu item, the non-modal form shows up, but the cursor seems to be stuck in a left button mouse down state in the ListView, i.e. The non-modal form is at the front, but when I move the mouse, it makes those drag area rectangles in the background ListView, as if the mouse button is being held down.

I’ve tried using various BringToFront, SetFocus, and tried to use SendMessage to simulate mouse clicks to get around it with no success.

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T01:10:51+00:00Added an answer on May 12, 2026 at 1:10 am

    Found the problem. Upon further investigation the ListView was actually a custom descendant of TListView, and it had its own (buggy) way of handling popup menus.

    I switched it to use TListView’s default TListView.PopupMenu and it works all sweet.

    Thanks Lars Truijens for suggesting building a minimal test app, that led me to the right direction.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following situation in code, which I suspect may be a bit
The situation is a bit complex. I have a web container which controls another
I have a bit of a situation. I've consumed about fourty-eleven different tutorials/books/videos on
This is a bit of an odd situation. Here's what's happening. So, we have
I will try to explain the situation as it is a little bit more
I'm in a bit of a doubt about this subject. Situation: I have conducted
I know the question sound's a bit weird. Let me explain the situation: I
Well the situation is bit more complicated than that ! I have a question
There's a little bit uncommon situation in my app, that is, I have to
My situation is best described with a bit of code: class Foo { function

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.