Help Me Please again, A problem about framebar

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #38667
    Support
    Keymaster

    Try this code, please

    CODE
    procedure TFrameButtons.sBitBtn3Click(Sender: TObject);
    begin
      if Mainform.sFrameLookBar1.Items[0].Frame nil then TFrameBarControls(Mainform.sFrameLookBar1.Items[0].Frame).sBitBtn1.Enabled := True;
    {
      if Assigned(OldFrame) then FreeAndNil(OldFrame);
      Frame := TFrameBarControls.Create(nil);
      TFrameBarControls(Frame).sBitBtn1.Enabled := True;
    }
    end;


    PS. Other your messages will be deleted, please do not duplicate them.

    #38675
    georgettank
    Participant

    Thanks for your reply

    That do good

    best regard

    QUOTE (Support @ Apr 16 2009, 06:30 PM)
    Try this code, please

    CODE
    procedure TFrameButtons.sBitBtn3Click(Sender: TObject);
    begin
      if Mainform.sFrameLookBar1.Items[0].Frame nil then TFrameBarControls(Mainform.sFrameLookBar1.Items[0].Frame).sBitBtn1.Enabled := True;
    {
      if Assigned(OldFrame) then FreeAndNil(OldFrame);
      Frame := TFrameBarControls.Create(nil);
      TFrameBarControls(Frame).sBitBtn1.Enabled := True;
    }
    end;


    PS. Other your messages will be deleted, please do not duplicate them.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.