I'd like put a menu in my application, a left menu, like outlook. I did
it, but I want that the component
hide and show when I move the mouse over it. I think that MouseEnter and
MouseLeave was my solution,  it works as expected but is called many times
when cursor move over the labels in my component.

    I'd like that event is called only when go out/into the component, not
when cursor is moving into the component.

    I have a component like this:

  TexMainMenu = class(TCustomPanel)
  private
    totalopt: integer;
    totalimg: integer;
    MainId: integer;
    MainIndex: integer;
    Mainopt: array[1..20] of THeaderControl; //Opciones menu principal
    ...
    ...
    procedure KeyDown(Sender: TObject; var Key: Word; Shift: TShiftState);
    Procedure CMMouseEnter (Var Msg:TMessage); Message CM_MouseEnter;
    Procedure CMMouseLeave (Var Msg:TMessage); Message CM_MouseLeave;
  protected
    ...
    ...
  public
    sb: TScrollBox;
    ..................


    Thnaks in advance.


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/i7folB/TM
--------------------------------------------------------------------~-> 

-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to