Manuel fcToolbar execute commands

edited 7:27PM 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 7:27PM
    Hi.

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

    Best regards,
    Oleg Pryalkov.
  • edited 7:27PM
    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 7:27PM
    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 7:27PM
    Thanks for this one, appreciate it!

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.