Jump to content
Attila Kovacs

Convert to Property

Recommended Posts

How can I convert multiple fields to properties?

It always converts the only one from the current line, where the cursor is positioned.


Share this post

Link to post

In the declaration?

I usually end up with a recorded macro since I only rarely want a setter procedure.



Share this post

Link to post

@Lars Fosdal I mean MMX Code Explorer. MMX->Conversion-> Convert to property


In the dialog title is "Field(s)" but I can't get it to work with multiple fields.

Share this post

Link to post
2 minutes ago, Attila Kovacs said:

@Uwe Raabe I see, I don't have this panel on the left, I'll just roll my own to work with selection. Thx anyway.

You can open the MMX Code Explorer, and drag/drop to Object Inspector area.

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now