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
#2
Turns out this has nothing to do with IW, and just a TFrame inheritance craziness. Solution was found on good old stackoverflow (https://stackoverflow.com/questions/5895...ere-a-form)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)