Attila Kovacs 629 Posted June 15, 2020 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
Lars Fosdal 1792 Posted June 15, 2020 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
Attila Kovacs 629 Posted June 15, 2020 @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
Lars Fosdal 1792 Posted June 15, 2020 Ah, my bad - I didn't notice the MMX context. Share this post Link to post
Uwe Raabe 2060 Posted June 15, 2020 You have to select all the fields to be converted in the MMX Code Explorer Window. For an example see this video: Convert Multiple Fields to Properties 1 1 Share this post Link to post
Attila Kovacs 629 Posted June 15, 2020 @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. Share this post Link to post
Bill Meyer 337 Posted June 15, 2020 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