Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
350
FormulaBuilder in UltraTextEditor
posted

 Hi,

 I was reading some smilars posts and the example about formula builder in run-runtime, and like is says when the FormulaBuilderDialog is created it needs an IFormulaProvider and Only the Columns and Summary implements the interface.

UltraGridColumn column = this.ultraGrid1.Selected.Columns[0].Column;
FormulaBuilderDialog formulaBuilderDialog = new FormulaBuilderDialog(column as IFormulaProvider); 

But i need to do this with an UltraTextEditor, how i can do this?

Thanks.  

Parents
No Data
Reply
  • 5118
    posted

    Hi,

    You are on the right track, there is an excellent example in the help collection that shows exactly what you are looking for (formula builder at runtime). 

    The part you are after is the ultraCalcManager1.GetCalcSettings(UltraTextEditor1) value that is passed to the instantiation to the FormulaBuilderDialog.

Children