procedure Register;
begin
RegisterComponents('ActiveX',[TMap]);
RegisterComponents(dtlServerPage, [TDataSets, TLayers, TLayerInfo, TLayer,
TField, TDataset, TThemes, TTheme, TLegend,
TAnnotations, TThemeProperties, TSelection, TFeature, TRangeCategory,
TFields, TStyle, TIndividualValueCategory, TMultiVarCategory, TSourceRows,
TSourceRow, TAnnotation, TGraphic, TLegendText, TLegendTexts,
TTitle, TLabelProperties, TBindLayer, TRangeCategories, TIndividualValueCategories,
TMultivarCategories, TBitmapSymbols, TRectangle, TBoundsConstraint, TFeaturesConstraint,
TAllFeaturesConstraint, TFind, TFindFeature, TFindResult, TFindMatch,
TFindMatches, TParts, TPoints, TPoint, TGeosets,
TGeoSet, TFeatures, TDatum, TAffineTransform, TCoordSys,
TBitmapSymbol, TFeatureFactory, TResolveObjects, TResolveObject, TRowValues,
TRowValue, TVariables, TVariable, TLabels, TLabel]);
end;
改成了:
procedure Register;
begin
RegisterComponents('ActiveX',[TMap]);
end; |