twobit

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Hiding sTabSheet in sPageControl #47498
    twobit
    Participant

    Thanks, it worked A-OK. Although the presence of both Visible and TabVisible is really confusing.

    Thanks again,

    twobit

    in reply to: Automatic dropdown menu for sButton #47173
    twobit
    Participant

    Hey, thank you SO MUCH. It worked like a charm. Great trick.

    Kind regards,

    Twobit.

    'Support' wrote:

    Hello

    I think, you can use this code :

    Code:
    procedure TForm1.sButton1Click(Sender: TObject);
    var
    p : TPoint;
    begin
    p := sButton1.ClientToScreen(Point(0, 0));
    PopupMenu1.Popup(p.X, p.Y + sButton1.Height);
    end;

Viewing 2 posts - 1 through 2 (of 2 total)