sFramebar

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #36342
    robert
    Participant

    I am trying to create an application with sFramebar .. I created a titleitem on sframebar and frames also .. then on stitle on createframe event I inserted a code Frame := TBarPanel_AppStyle.Create(nil) .. works but when on BarPanel_AppStyle I placed a button and then on its click event i inserted the code MainForm.CreateNewFrame(TFrame_CurrentSkin, Sender); but I am getting error Undeclared Identifier'CreateNewFrame' .. I am doing all this with the help of demo .. how can I easily declare CreateNewFrame on mainform .. so that i can easily create a frame (Frame_CurrentSkin) on main form with the click event of a button on BarPanel_AppStyle ..

    #52684
    Support
    Keymaster

    Hello Robert

    CreateNewFrame is your procedure declared in the MainForm?

    #52685
    robert
    Participant

    when I declared procedure CreateNewFrame(FrameType: TFrameClass; Sender: TObject); in public in Main form and then created a frame CustomInfoFrame and then on main form in types TCustomInfoFrame = class(TFrame) but still I get the error .. Undeclared Identifier 'TCustomInfoFrame' ..

    #52686
    Support
    Keymaster
    'robert' wrote:

    when I declared procedure CreateNewFrame(FrameType: TFrameClass; Sender: TObject); in public in Main form and then created a frame CustomInfoFrame and then on main form in types TCustomInfoFrame = class(TFrame) but still I get the error .. Undeclared Identifier 'TCustomInfoFrame' ..

    Maybe you should add this unit into “uses” clause.

    #52687
    robert
    Participant

    Sir I have already added the unit in uses

    #52688
    Support
    Keymaster

    And Delphi can't find an object which has been declared there?

    Could you show a demo?

    #52689
    robert
    Participant

    Any how I got it done in different way .. how in demo on click event of buttons on BarPanel_AppStyle .. second ticked imaged is selected ..

    #52702
    Support
    Keymaster

    Robert, I'm sorry, I can't understand a question. Could you show a demo-program with this issue?

    #52704
    robert
    Participant
    'Support' wrote:

    Robert, I'm sorry, I can't understand a question. Could you show a demo-program with this issue?

    image attached .. need to get this image effect after button click

    14c5zr6.png

    #52715
    Support
    Keymaster

    I'm sorry, I not understand still. Animation of frames changing needed?

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