Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom control inherited from IWControls
#2
After talking to chad at support chat, I´ve managed to solve the first problem. (1# - Inherited controls doesn´t look like their parents in design time. (see picture attached).)

I had to mark the package with the descendent controls as Only Runtime, created another package Only Designtime, and to register the painters for the controls.

Like this:

initialization
  IWRegisterPaintHandler('TLBIWXEdit', TIWPaintHandlerEdit);

Also, moved the register procedure to the design time package.
Reply


Messages In This Thread
RE: Custom control inherited from IWControls - by LeoBruno - 07-01-2019, 09:49 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)