プロパティウィンドウの [DropDownCalendar] -[YearMonthFormat]の設定が反映されない
対象製品
InputMan for .NET 4.0J Windows Forms Edition
発生環境
動作環境と同じ
状況
修正済み
詳細
この問題は日付コントロールで発生します。
プロパディウィンドウの項目DropDownCalendar - YearMonthFormatを変更しても、コードには反映されません。
プロパディウィンドウの項目DropDownCalendar - YearMonthFormatを変更しても、コードには反映されません。
回避方法
不具合を修正した2007/10/31版をご使用ください。
最新修正版は、このサイトのアップデートページからダウンロードできます。
または、手動で同プロパティを設定するコードを記述します。
次の例はカレンダーの形式を年 - 月カレンダーに設定し、YearMonthFormatプロパティを以下のように設定します。
MonthFormat: "MM"
YearFormat: "yy"
[Visual Basic]
Date1.DropDownCalendar.CalendarType = CalendarType.YearMonth
Date1.DropDownCalendar.YearMonthFormat.YearFormat = "yy"
Date1.DropDownCalendar.YearMonthFormat.MonthFormat = "MM"
[C#]
date1.DropDownCalendar.CalendarType = CalendarType.YearMonth;
date1.DropDownCalendar.YearMonthFormat.YearFormat = "yy";
date1.DropDownCalendar.YearMonthFormat.MonthFormat = "MM";
最新修正版は、このサイトのアップデートページからダウンロードできます。
または、手動で同プロパティを設定するコードを記述します。
次の例はカレンダーの形式を年 - 月カレンダーに設定し、YearMonthFormatプロパティを以下のように設定します。
MonthFormat: "MM"
YearFormat: "yy"
[Visual Basic]
Date1.DropDownCalendar.CalendarType = CalendarType.YearMonth
Date1.DropDownCalendar.YearMonthFormat.YearFormat = "yy"
Date1.DropDownCalendar.YearMonthFormat.MonthFormat = "MM"
[C#]
date1.DropDownCalendar.CalendarType = CalendarType.YearMonth;
date1.DropDownCalendar.YearMonthFormat.YearFormat = "yy";
date1.DropDownCalendar.YearMonthFormat.MonthFormat = "MM";
キーワード
INMN06129
この文書は、以前は次のバグレポートIDで公開されていました : 7174