B
Boblee
Unregistered / Unconfirmed
GUEST, unregistred user!
我用ColorToString(color:Tcolor),正如dephi帮助中说的那样:
Call ColorToString to obtain a string that represents a TColor value.
[gold]If there is a symbolic constant defined for the color (such as clBlack or clHighlightText),
ColorToString returns the name of the constant.[/gold]
Otherwise, ColorToString returns the hex value of the color, formatted as a string such as '$02FF8800'.
它不能format dephi已定义的symbolic.
有其它方法吗?
Call ColorToString to obtain a string that represents a TColor value.
[gold]If there is a symbolic constant defined for the color (such as clBlack or clHighlightText),
ColorToString returns the name of the constant.[/gold]
Otherwise, ColorToString returns the hex value of the color, formatted as a string such as '$02FF8800'.
它不能format dephi已定义的symbolic.
有其它方法吗?