作成日: 2021/03/04 最終更新日: 2021/06/23
文書種別
不具合
状況
修正済み
詳細
SPREADデザイナでGcNumber型セルを設定し、セル型に含まれる整数表示フィールド(NumberIntegerPartDisplayFieldInfo)のGroupSeparatorプロパティの値を削除してからデザイナの変更を適用しようとすると、デザイナの処理が完了せずに正しく終了できません。
回避方法
Service Pack 7(v12.0.4510.2012)で修正済み。
Service Pack 7を適用せずに対処する方法としては、デザイナではなくソースコードで整数表示フィールドのGroupSeparatorプロパティの値を削除することで回避可能です。
' GcNumberCellType型セルの作成
Dim numberCell As New GcNumberCellType()
For Each field As Fields.NumberFieldInfo In numberCell.Fields
If TypeOf field Is Fields.NumberIntegerPartFieldInfo Then
DirectCast(field, Fields.NumberIntegerPartFieldInfo).GroupSeparator = ""
Exit For
End If
Next
' GcNumberCellType型セルの設定
FpSpread1.ActiveSheet.Columns(0).CellType = numberCell
Dim numberCell As New GcNumberCellType()
For Each field As Fields.NumberFieldInfo In numberCell.Fields
If TypeOf field Is Fields.NumberIntegerPartFieldInfo Then
DirectCast(field, Fields.NumberIntegerPartFieldInfo).GroupSeparator = ""
Exit For
End If
Next
' GcNumberCellType型セルの設定
FpSpread1.ActiveSheet.Columns(0).CellType = numberCell
旧文書番号
86461