Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Changing ancestor of TIWFrame
#1
If I create a new intrawb frame the class looks as follows:


Code:
TIWFrame1 = class(TFrame)
    IWFrameRegion: TIWRegion;
  private
    { Private declarations }
  public
    { Public declarations }
  end;

if I made a small change


Code:
  TMyFrame=class(TFrame)
  end;

  TIWFrame1 = class(TMyFrame)
    IWFrameRegion: TIWRegion;
  private
    { Private declarations }
  public
    { Public declarations }
  end;


When I close and reopen my program, the IDE complains that "property TabOrder cannot be found". This also happens if I create a new delphi frame in another unit, and then try to inherit the IW frame from that.

I have a regular TFrame that has some base functionality that I want to inherit in my IWFrame. Is there a way to change the ancestor of the TIWFrame1 to some other TFrame ?
Reply


Messages In This Thread
Changing ancestor of TIWFrame - by davenovo - 03-23-2018, 03:05 AM
RE: Changing ancestor of TIWFrame - by davenovo - 03-23-2018, 04:07 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)