Manuel fcToolbar execute commands

edited 5:03AM in FastCube
Hi,

I want to create my toolbar.
How can execute maneul command fctoolbar button click command.
I need to fctoolbar buttons click commands.

Regards,

Athena


Comments

  • edited 5:03AM
    Hi.

    Use procedure TfcToolBar.ButtonClick(Sender: TObject);
    Sender - TToolButton from TfcToolBar

    Best regards,
    Oleg Pryalkov.
  • edited 5:03AM
    Hi,

    I DON'T NEED YOUR ANSWER COMMAND.

    I need the Execute command.

    How can execute Field List editor with source.
    How can execute Export Items Menu with source.
    How can execute data marking screen with source.
    How can execute edit measures Screen with source.
    How can hide column zero with source.
    How can hide row zero with source.


    procedure TCpvt0081_Form1.LMDBtnF1Click(Sender: TObject);
    begin
    //Save to schema file
    XTable_FSLIC.SaveToFile('abc.mds'); //I know this
    end;


    procedure TCpvt0081_Form1.LMDBtnF2Click(Sender: TObject);
    begin
    //But I don't know this commands with source

    ?????? what is command???
    ???????How can execute Field List editor with source.
    ???????How can execute Export Items Menu with source.
    ???????How can execute data marking screen with source.
    ???????How can execute edit measures Screen with source.
    ???????How can hide column zero with source.
    ???????How can hide row zero with source.

    end;



  • edited 5:03AM
    Hi.

    You can see all commands in fcToolBar.pas

    How can execute Field List editor with source.
    fcGrid.FieldEditor.Show;

    How can execute Export Items Menu with source.
    fcGrid.DoExportTo(const AFormat: TfcExportFormat; ACloneMasterValue: boolean = False);

    How can execute data marking screen with source.
    fcSlice.RangeConfig(fcGrid.Styles.DataArea.FillColor, fcGrid.SelectedFact);

    How can execute edit measures Screen with source.
    fcSlice.ManageFacts(nil);

    How can hide column zero with source.
    fcSlice.HideColZeros := True;

    How can hide row zero with source.
    fcSlice.HideRowZeros := True;


    Best regards, Oleg Pryalkov
  • edited 5:03AM
    Thanks for this one, appreciate it!

Leave a Comment