How to get to the control and its properties in TFrame?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #35354
    Brx
    Participant

    Hello, all!

    First of all, I must say that I began to use FrameBar and all is doing well, except one thing.

    For example, when I click on a button on the form, I want to disable control(f.e.:button) in a frame, but I don't know how to get to the control.

    I can't see that kind of operation in your demo applications that certain control properties in a frame can be changed, so if you know a workaround, please let me know.

    I hope, I was clear.

    Thanks!

    Brx

    #48955
    CheshireCat
    Participant

    Hello Brx,

    an example of the sFrameBar demo:

    Code:
    procedure TMainForm.Button1Click(Sender: TObject);
    begin
    SkinsFrame.sRadioButton1.Enabled := False;
    end;

    Best regards

    Sascha

    #48946
    Brx
    Participant

    Yeah, thanks for the tip. I found a similar code in FrameBar demo.

    It's working perfectly. 🙂

    Brx

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