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 3434824
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T07:44:45+00:00 2026-05-18T07:44:45+00:00

Ok, here is the issue: Recently I hit an problem that I was not

  • 0

Ok, here is the issue:
Recently I hit an problem that I was not able to use Accelerator Keys ( a.k.a HotKeys ) on Buttons inside GroupBox. Just a minute ago I found out why, but now only problem is that this reason makes me even more puzzled than before, which is that Such button with accelerator cannot be found on Form. Effect is that when I double click to affected buttons with double-click while in Design-time, I get error “Property and method are not compatible”.

MethodName is VKPInputBtnClick, that is actually declared as function, not as Method in Unit.

What makes me puzzled is that I have not assigned OnClick event handler for VKPInputBtn to any Method at all!

How it is possible that I can compile program and have no run-time problems … but in Design-time double click on button has such annoying issues ….

Any solution? Reinstall of IDE?

Any help much appreciated …

  • 1 1 Answer
  • 0 Views
  • 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-18T07:44:45+00:00Added an answer on May 18, 2026 at 7:44 am

    Double-clicking a control that doesn’t have its default event property set causes the IDE to assign that property. (It’s not just a shortcut for going to the code editor; that’s F12.) The IDE searches the source code for a function with the desired name. If it doesn’t find one, then it creates a method in the containing form and assigns it to the component’s event property. But if it does find something with the right name, it attempts to assign it without creating anything new.

    The problem, apparently, is that the thing the IDE finds in your case isn’t compatible with the event it appears to go with. Probably a bug — it shouldn’t select non-methods — but a rarely encountered one given the low frequency with which humans choose the same name for standalone functions as the IDE chooses for event handlers.

    You have several options:

    • Rename VKPInputBtnClick so it doesn’t look like it’s the OnClick event handler for the VKPInputBtn control.
    • Make VKPInputBtnClick be a method of the form class.
    • Manually declare a new VKPInputBtnClick method in the form class, and maybe the IDE will select it instead of the standalone function.
    • Type some other name into the OnClick property in the Object Inspector, and then double-click it (or press Enter). The IDE will create a method with that name.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here is the issue. On a site I've recently taken over it tracks miles
My issue here is quite simple : i'm trying to use the jQuery validate
Having an issue here that I have tried everything I can think of but
I have recently downloaded mColorPicker.js from here However, I am running into some issue
I've recently asked a question regarding IE8 issue. After some time the problem was
Trigger is a recently re-detected SwingX issue : support deep - that is under
I ran into an annoying issue recently. I'm going to simplify my datamodel here,
I was debugging an issue with a view controller recently and noticed that each
Here is an issue that is giving me a real headache. We are developing
I've recently hit a wall with an issue with Java's native XML API (the

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.