Thread Rating:
  • 335 Vote(s) - 2.79 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CalendarControlのスピンについて
09-12-2012, 09:55 AM,
#1
CalendarControlのスピンについて
こんにちは。

CalendarControlの月/年を選択できるスピン部分で質問です。
標準の状態だと
     ▲で翌月、▼で前月表示 だと思うのですが、
これを ▲で前月、▼で翌月表示
への切り替えはできるのでしょうか?

CalendarControlのカスタマイズクラスを作成しないと無理でしょうか。

よろしくお願いいたします。
09-18-2012, 06:08 PM,
#2
RE: CalendarControlのスピンについて

こんな感じでしょうか?(違和感があるかと思いますが、これ以上のカスタマイズは、UIクラスを継承してやる必要があるようなきがします。。。)

{def samples =
{HBox
spacing = 9pt, margin = 9pt,
{CalendarControl}
}
}

{value
{install-style-sheet-on-Graphic
samples,
{StyleSheet
{StyleRule "SpinControl/decrease-button",
skin =
{ShadedSkinSpec
"chocolate", "darkorange",
overlay-decoration = "decrease-triangle",
highlight-boundary = .05,
corner-radius = 3
}
},
{StyleRule "SpinControl/increase-button",
skin =
{ShadedSkinSpec
"chocolate", "darkorange",
overlay-decoration = "increase-triangle",
highlight-boundary = .05,
corner-radius = 3
}
}
}
}
}
09-19-2012, 09:53 AM,
#3
RE: CalendarControlのスピンについて
ありがとうございます

なるほど、表示をかえる、というわけですね。
参考にさせていただきます。

ありがとうございました。
09-20-2012, 03:45 PM,
#4
RE: CalendarControlのスピンについて
I can control the font-size of the headings in the document, but I desperately need a larger font for the left-side index widget.
09-20-2012, 05:19 PM,
#5
RE: CalendarControlのスピンについて

> I can control the font-size of the headings in the document,
> but I desperately need a larger font for the left-side index widget.

Do you mean you met this issue when using TocDocument?
09-24-2012, 09:33 AM,
#6
RE: CalendarControlのスピンについて
(09-20-2012, 03:45 PM)mikhelee Wrote: I can control the font-size of the headings in the document, but I desperately need a larger font for the left-side index widget.
Looks like this was posted to the wrong thread.

Forum Jump:


Users browsing this thread:
1 Guest(s)

MyBB SQL Error

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1017 - Can't find file: 'mybb_threadviews' (errno: 2)
Query:
INSERT INTO mybb_threadviews (tid) VALUES('623')