| |

VerySource

 Forgot password?
 Register
Search
View: 698|Reply: 2

Popup menu source

[Copy link]

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-1-25 14:00:02
| Show all posts |Read mode
I have 10 buttons with popupmenu properties all set to pop1 (the name of the popup menu)
      How do I know if the current menu popped up when I clicked that button?
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-2-15 19:00:02
| Show all posts
procedure TForm1.PopupMenu1Popup (Sender: TObject);
begin
  showmessage (PopupMenu1.PopupComponent.Name);
end;
Reply

Use magic Report

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

 Author| Post time: 2020-3-2 22:15:01
| Show all posts
This error ofomni_mageI used in ocx is wrong!
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list