Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2017-10

Adding a component to a form using keyboard

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Lubos Pintes

Hello,
I have a problem to add a button to a form using keyboard. Ctrl+Alt+P, write "tbut" to the edit field and press Enter. Nothing was added... why?

Reply by email

Ondrej Pokorny
to Lubos Pintes
Lubos Pintes wrote
Hello, I have a problem to add a button to a form using keyboard. Ctrl+Alt+P, write "tbut" to the edit field and press Enter. Nothing was added... why?

Because you have to click with a mouse on the form where the button has to be placed.

Check the "Keep open" checkbox to have the Delphi-behavior (component placed without a mouse click, the components dialog doesn't close).

Ondrej

Reply by email