2014-05-15 55 views
1

Delphi的FastCube 2組件的AddFieldTo的模擬是什麼?我們用下面的代碼之前:Delphi的FastCube 2組件上的AddFieldTo類似物是什麼?

TfcxSlice.AddFieldTo(FieldName, Caption, rf_CapXAx); 

問題是造成新TfcxCommonFieldsOfRegion類:

private 
    procedure Delete(AIndex: TfcxSmallCount); 
    function Add(AField: TfcxCommonFieldOfRegion): TfcxSmallCount; 
    procedure Insert(AField: TfcxCommonFieldOfRegion; AIndex: TfcxSmallCount); 

因此,有改變TfcxCommonFieldsOfRegion物體沒有嚴格的辦法。

+2

你應該問這個供應商。 – RBA

回答

1

新代碼:

XAxisContainer.AddDimension(TfcxSliceField, FieldName, Caption); 
相關問題