I created an additional component

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #71446
    Watsch
    Participant

    Hi there,

    I have created an additional component for AlphaControls. It is similar to the Tools-Button of Photoshop. It has a small triangle in the bottom right corner, which opens a PopupMenu when clicked. By clicking on the Button itself, a different OnClick-Event is triggered.

    Known issues: The black triangle disappears for a (milli-)second when the button loses its focus. If you have any suggestions on how to resolve this issue, could you please post an updated version of the component?

    Many thanks in advance…. and please let me know your opinions about this component.

    • This topic was modified 5 months, 2 weeks ago by Watsch.
    Attachments:
    You must be logged in to view attached files.
    #71449
    Stephane Senecal
    Participant

    I believe AlphaSkins uses some kind of caching for drawing. I think you should draw your triangle in that cache instead of directly on the button’s canvas.
    Sorry I don’t have more specific details on how to implement this.

    Stephane Senecal
    CIS Group
    Delphi programmer since 2001

    #71450
    Watsch
    Participant

    Hi Stephane,

    Thanks for your reply. I will try to figure out on how to resolve this issue. If your tip is resolving the issue, I will upload the new version of that component.

    Btw, I am trying to create some more components – I already finished another two. So, if you have any suggestions let me know and I am trying to create those components and post them here.

    Best regards,

    Watsch

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