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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T21:57:55+00:00 2026-06-09T21:57:55+00:00

I like to place a feedback button on may main (MDIParent) form that simulates

  • 0

I like to place a feedback button on may main (MDIParent) form that simulates those in webpages.

Like it to grow when the mouse goes over it. Just like the web.
The form with questions and the send of the data, I really don’t need it, just the visual stuff.

Is there any such component ?.
I don’t think it’s difficult to do, but if it already exist it will same me some time.

Thanks

  • 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-06-09T21:57:56+00:00Added an answer on June 9, 2026 at 9:57 pm

    To make an animated slide panel you can use a code like follows:

    unit Unit1;
    
    interface
    
    uses
      Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
      Dialogs, StdCtrls, ExtCtrls;
    
    type
      TForm1 = class(TForm)
        procedure FormCreate(Sender: TObject);
      private
        FFeedbackBtn: TPanel;
        FFeedbackPanel: TPanel;
        procedure OnFeedbackBtnMouseEnter(Sender: TObject);
        procedure OnFeedbackPanelMouseLeave(Sender: TObject);
      public
        { Public declarations }
      end;
    
    var
      Form1: TForm1;
    
    implementation
    
    {$R *.dfm}
    
    procedure TForm1.FormCreate(Sender: TObject);
    begin
      FFeedbackBtn := TPanel.Create(Self);
      FFeedbackBtn.Parent := Self;
      FFeedbackBtn.Anchors := [akLeft, akTop, akBottom];
      FFeedbackBtn.Caption := '';
      FFeedbackBtn.SetBounds(0, 0, 40, ClientHeight);
      FFeedbackBtn.OnMouseEnter := OnFeedbackBtnMouseEnter;
    
      FFeedbackPanel := TPanel.Create(Self);
      FFeedbackPanel.Parent := Self;
      FFeedbackPanel.Anchors := [akLeft, akTop, akBottom];
      FFeedbackPanel.Caption := 'Feedback panel';
      FFeedbackPanel.Visible := False;
      FFeedbackPanel.SetBounds(0, 0, 250, ClientHeight);
      FFeedbackPanel.OnMouseLeave := OnFeedbackPanelMouseLeave;
    end;
    
    procedure TForm1.OnFeedbackBtnMouseEnter(Sender: TObject);
    begin
      AnimateWindow(FFeedbackPanel.Handle, 150, AW_ACTIVATE or AW_SLIDE or
        AW_HOR_POSITIVE);
    end;
    
    procedure TForm1.OnFeedbackPanelMouseLeave(Sender: TObject);
    begin
      AnimateWindow(FFeedbackPanel.Handle, 150, AW_HIDE or AW_SLIDE or
        AW_HOR_NEGATIVE);
    end;
    
    end.
    

    Update:

    Here’s another version of the above, now with a vertical text like a typical feedback button has, rendered on a paint box stretched on the button panel:

    unit Unit1;
    
    interface
    
    uses
      Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
      Dialogs, StdCtrls, ExtCtrls;
    
    type
      TForm1 = class(TForm)
        procedure FormCreate(Sender: TObject);
      private
        FFeedbackBtn: TPanel;
        FFeedbackBtnOverlay: TPaintBox;
        FFeedbackPanel: TPanel;
        procedure OnFeedbackBtnMouseEnter(Sender: TObject);
        procedure OnFeedbackPanelMouseLeave(Sender: TObject);
        procedure OnFeedbackBtnOverlayPaint(Sender: TObject);
      public
        { Public declarations }
      end;
    
    var
      Form1: TForm1;
    
    implementation
    
    {$R *.dfm}
    
    procedure TForm1.FormCreate(Sender: TObject);
    begin
      FFeedbackBtn := TPanel.Create(Self);
      FFeedbackBtn.Parent := Self;
      FFeedbackBtn.Anchors := [akLeft, akTop, akBottom];
      FFeedbackBtn.Caption := '';
      FFeedbackBtn.Color := $0000B3FF;
      FFeedbackBtn.ParentBackground := False;
      FFeedbackBtn.SetBounds(0, 0, 40, ClientHeight);
    
      FFeedbackBtnOverlay := TPaintBox.Create(Self);
      FFeedbackBtnOverlay.Parent := FFeedbackBtn;
      FFeedbackBtnOverlay.Align := alClient;
      FFeedbackBtnOverlay.OnPaint := OnFeedbackBtnOverlayPaint;
      FFeedbackBtnOverlay.OnMouseEnter := OnFeedbackBtnMouseEnter;
    
      FFeedbackPanel := TPanel.Create(Self);
      FFeedbackPanel.Parent := Self;
      FFeedbackPanel.Anchors := [akLeft, akTop, akBottom];
      FFeedbackPanel.Caption := 'Feedback panel';
      FFeedbackPanel.Color := $0000F9FF;
      FFeedbackPanel.ParentBackground := False;
      FFeedbackPanel.Visible := False;
      FFeedbackPanel.SetBounds(0, 0, 250, ClientHeight);
      FFeedbackPanel.OnMouseLeave := OnFeedbackPanelMouseLeave;
    end;
    
    procedure TForm1.OnFeedbackBtnMouseEnter(Sender: TObject);
    begin
      AnimateWindow(FFeedbackPanel.Handle, 150, AW_ACTIVATE or AW_SLIDE or
        AW_HOR_POSITIVE);
    end;
    
    procedure TForm1.OnFeedbackPanelMouseLeave(Sender: TObject);
    begin
      AnimateWindow(FFeedbackPanel.Handle, 150, AW_HIDE or AW_SLIDE or
        AW_HOR_NEGATIVE);
    end;
    
    procedure TForm1.OnFeedbackBtnOverlayPaint(Sender: TObject);
    var
      S: string;
      X, Y: Integer;
    begin
      S := 'Feedback...';
      with FFeedbackBtnOverlay do
      begin
        Canvas.Brush.Color := $0000B3FF;
        Canvas.FillRect(ClientRect);
        Canvas.Font.Orientation := 900;
        X := (ClientWidth - Canvas.TextHeight(S)) div 2;
        Y := ClientHeight - (ClientHeight - Canvas.TextWidth(S)) div 2;
        Canvas.TextOut(X, Y, S);
      end;
    end;
    
    end.
    

    And the result:

    Result

    You should also implement some logic to prevent user to hide the feedback panel when will actually filling the fields, but it’s a natural weakness of such kind of a feedback form.

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

Sidebar

Related Questions

I would like to place a custom view in the bottom of the main.xml
I Have a canvas and would like to place silverlight elements within that canvas
I've created a custom form element that allows me to place text in an
I would like to place an edit control (WC_EDIT) on a static control (WC_STATIC).
I would like to place my div below the list, but actually it is
I'd like to place a directive in my theme's functions.php file which appends a
I would like to place the names of the dependencies in a text file
I'm working with Tomcat7 on JSF 2.17 Mojarra. I'd like to place a servlet
Should be simple but I couldn't find the answer, I would like to place
I'm working on a game bot. I'd like to place there something like a

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.