Adding TsEdit context menu possible?

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #35385
    dhwz2001
    Participant

    The standard VCL TEdit has a context menu (cut, copy, paste, undo…) if you press the right mouse button inside of the TEdit component.

    This doesn't work with Alphacontrols, any chance to make this work again? ^_^

    #49096
    Support
    Keymaster

    Hello!

    Can you show a demo please? I can't reproduce it.

    You have pressed the right mouse button without any result?

    #49098
    dhwz2001
    Participant

    Sorry my fault, you are right its not working with the standard control.

    Indeed I used TLMDEdit control from LMD-Tools SE 2012 before, which has a contect menu if you press the right mouse button.

    Maybe its possible to implement that in Alphacontrols too?

    #49099
    CheshireCat
    Participant

    Hello dhwz2001,

    when you press the right mousebutton, tsEdit will show the default context menu, or do you mean a menu with skin?

    #49100
    dhwz2001
    Participant

    Hm, sorry for me it doesn't do anything. No popup at all? :wacko:

    Is there a way to disable it? Maybe I've done it accidently?

    Edit:

    Seems it doesn't work in any project I tried.

    I think its a bug inside Delphi 2007, googled for it and found a bugfix for that issue. :a1:

    #49101
    CheshireCat
    Participant

    Have you tried a new project without any code?

    #49102
    dhwz2001
    Participant
    'CheshireCat' wrote:

    Have you tried a new project without any code?

    Yes, but it seems to be a well known bug in Delphi 2007, I never had that problem before, because I used LMD Tools before which hadn't this problem.

    http://cc.embarcadero.com/Item/25040

    Found the attached code to fix this Delphi 2007 issue.

    #49103
    CheshireCat
    Participant

    Very useful for all delphi2007 user :a3:

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.