ToolBox Indicator available in Business Central Version ?


In 2009 version, it was possible to display a field as an "Indicator" thanks to the ToolBox button in the form designer.

Is this option available in Business Central ?

For Example, in the "User task list" (Page 1170), I would like to display a graphic view ok the field "% complete".

Thank's in advance for your help.


  • da_nealda_neal Member Posts: 75
    edited 2019-10-16
    You need to use addin control for it, i suppose.
  • da_nealda_neal Member Posts: 75
    OBJECT Page 50161 Status Strip Example
    Version List=DBA;
    { 21094444;;Container ;
    ContainerType=ContentArea }

    { 21094445;1;Field ;
    ShowCaption=No }

    [email protected] : Boolean;
    [email protected] : DotNet "'System.Windows.Forms, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Windows.Forms.FormCollection" RUNONCLIENT;
    [email protected] : DotNet "'System.Windows.Forms, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Windows.Forms.Application" RUNONCLIENT;
    [email protected] : DotNet "'System.Windows.Forms, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Windows.Forms.Form" RUNONCLIENT;
    [email protected] : DotNet "'System.Windows.Forms, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Windows.Forms.ToolStripProgressBar" RUNONCLIENT;
    [email protected] : DotNet "'System.Windows.Forms, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Windows.Forms.StatusStrip" RUNONCLIENT;
    [email protected] : DotNet "'System.Windows.Forms, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Windows.Forms.ProgressBar" RUNONCLIENT;

    EVENT [email protected]::[email protected]();
    FormCollection := Application.OpenForms;
    CurrForm := FormCollection.Item(FormCollection.Count-1);

    StatusStrip := StatusStrip.StatusStrip;
    StatusStrip.Parent := CurrForm;

    StatusStripProgress := StatusStripProgress.ToolStripProgressBar;

    StatusStripProgress.Minimum := 1;
    StatusStripProgress.Maximum := 100;
    StatusStripProgress.Value := 68;


    ProgressBar := ProgressBar.ProgressBar;
    ProgressBar.Parent := CurrForm.Controls.Item(0).Controls.Item(0).Controls.Item(2);
    ProgressBar.Minimum := 1;
    ProgressBar.Maximum := 100;
    ProgressBar.Value := 62;

  • yannicklevaconyannicklevacon Member Posts: 8
    Hello da_neal,

    Thanks for your answer.

    But I'm afraid you're using something out of my skills...

    I tried to insert your field in a list, but it seems that in that case, the PageReady::AddInReady function is not executed, so the indicator does not appeare on the page.

    I tryed to call the PageReady::AddInReady function from the OnAfterGetRecord trigger of the page, but didn't succed.

    Do you know how to do that and to allow the indicator to be calculated for each line in a list ?

    Thank's again for you help.

  • da_nealda_neal Member Posts: 75
    edited 2019-10-17
    This example just demo how to add control on page :-). It is not show how to add progress bar to table grid, for it i think you must develop your own addin control and use it on page.

    Alternative way :
  • yannicklevaconyannicklevacon Member Posts: 8
    Hello, da_neal.

    Thank's for your help.

    I'm not really used to work with addin control... It seems to be a huge new world..

    But I succed to use olofsimren solution.

    It's probably a little to much for my needs, because if I well understand, the solution consists to build a picture and store it into a field for each record of the table...

    But it works fine ! But it's true also that olofsimren case was a little more complexe.

    So thank's again for your reply.

Sign In or Register to comment.