Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Component change cheating
Tue, Apr 12 2016 7:12 AMPermanent Link

Matthew Jones

In Delphi, you can open the DFM file and change a component to a
different type. A TEdit to a TMemo for example. When you then flip
back, it spots the change, discards inappropriate properties, and
generally sorts itself out. Very handy for switching from one type to
another similar type of component.

Can EWB do this at all? I presume I can edit the form and source
manually if necessary, but are there other issues?

I ask because I'm going to have to sort that coloured edit, and at the
moment am putting in TEdit placeholders. Would be a pain to sort all
the layout and margins again.

--

Matthew Jones
Tue, Apr 12 2016 7:58 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

<< Can EWB do this at all? I presume I can edit the form and source manually if necessary, but are there other issues? >>

You can't use Alt-F12 with EWB, but you can close the project, edit the .wbf as needed, and then re-open the project.  That will allow you to change a component class.

This will be more automated in 2.5 (not 2.05), and you'll be able to actually just use an IDE option to change the class of any component/control


Tim Young
Elevate Software
www.elevatesoft.com
Image