¡á Grid.SelectionColor

SECTION

 

Property

SINCE

 

1.1.0.44

DESCRIPTION

 

Row/Column ¼±Åÿ¡ ´ëÇÑ ¿©·¯°¡Áö »óȲ(POSSIBLE VALUES ÂüÁ¶)¿¡¼­ ¹è°æ/±ÛÀÚ »ö±òÀ» ¼³Á¤ÇÑ´Ù.

Çϳª ÀÌ»óÀÇ TypeÀ» ¼±ÅÃÀûÀ¸·Î(ȤÀº ¸ðµÎ¸¦) ¼³Á¤ ÇÒ ¼ö ÀÖ´Ù.

SYNTAX

 

<param name=SelectionColor    value=sValue>

[ sValue = ] GridID.SelectionColor [ = sValue ]

POSSIBLE VALUES

 

BSTR sValue : °¢ Type¿¡ ´ëÇÑ ¹è°æ/±ÛÀÚ »ö±ò¿¡ ´ëÇÑ ¹®ÀÚ¿­

Type

Description

FocusEditCol

Focus°¡ ÀÖ°í EditableÀÎ »óÅ¿¡¼­, ¼±ÅÃµÈ Row¿¡¼­ ¼±ÅÃµÈ Cell

FocusEditRow

Focus°¡ ÀÖ°í EditableÀÎ »óÅ¿¡¼­, ¼±ÅÃµÈ Row¿¡¼­ ¼±ÅÃµÈ CellÀ» Á¦¿ÜÇÑ ³ª¸ÓÁö Cellµé

FocusCurCol

Focus°¡ ÀÖ°í EditableÀÌ ¾Æ´Ñ »óÅ¿¡¼­, ¼±ÅÃµÈ Row¿¡¼­ ¼±ÅÃµÈ Cell

FocusCurRow

Focus°¡ ÀÖ°í EditableÀÌ ¾Æ´Ñ »óÅÿ¡¼­, ¼±ÅÃµÈ Row¿¡¼­ ¼±ÅÃµÈ CellÀ» Á¦¿ÜÇÑ ³ª¸ÓÁö Cellµé

FocusSelRow

Focus°¡ ÀÖ°í MultiSelectÀÏ ¶§ ¼±ÅÃµÈ Row(MarkµÈ Row)ÀÇ Cellµé(ÇöÀç Row – °¡Àå ¸¶Áö¸·¿¡ ¼±ÅÃµÈ Row – Á¦¿Ü)

EditCol

Focus°¡ ¾ø°í EditableÀÎ »óÅ¿¡¼­, ¼±ÅÃµÈ Row¿¡¼­ ¼±ÅÃµÈ Cell

EditRow

Focus°¡ ¾ø°í EditableÀÎ »óÅ¿¡¼­, ¼±ÅÃµÈ Row¿¡¼­ ¼±ÅÃµÈ CellÀ» Á¦¿ÜÇÑ ³ª¸ÓÁö Cellµé

CurCol

Focus°¡ ¾ø°í EditableÀÌ ¾Æ´Ñ »óÅ¿¡¼­, ¼±ÅÃµÈ Row¿¡¼­ ¼±ÅÃµÈ Cell

CurRow

Focus°¡ ¾ø°í EditableÀÌ ¾Æ´Ñ »óÅ¿¡¼­, ¼±ÅÃµÈ Row¿¡¼­ ¼±ÅÃµÈ CellÀ» Á¦¿ÜÇÑ ³ª¸ÓÁö Cellµé

SelRow

Focus°¡ ¾ø°í MultiSelectÀÏ ¶§ ¼±ÅÃµÈ Row(MarkµÈ Row)ÀÇ Cellµé(ÇöÀç Row – °¡Àå ¸¶Áö¸·¿¡ ¼±ÅÃµÈ Row – Á¦¿Ü)

Ex) <SC>Type=FocusEditRowColor, BgColor=¡±#FFFFFF¡±, TextColor=¡±Red¡±</SC>

PARAMETERS

 

ÇØ´ç¾øÀ½

RETURN VALUES

 

ÇØ´ç¾øÀ½

EXAMPLE

 

[Param]

<object classid=CLSID:EA8B6EE6-3DD8-4534-B4BB-27148CF0042B id=GridID>

<param name=SelectionColor  value="

<SC>Type='FocusEditCol', BgColor='Red', TextColor='Black'</SC>

<SC>Type='EditCol', BgColor='#aa6000', TextColor='navy'</SC>

<SC>Type='FocusEditRow', BgColor='Blue', TextColor='White'</SC>

<SC>Type='EditRow', BgColor='Pink', TextColor='Black'</SC>

<SC>Type='FocusCurCol', BgColor='Black', TextColor='White'</SC>

<SC>Type='CurCol', BgColor='Navy', TextColor='Goldk'</SC>

<SC>Type='FocusCurRow', BgColor='Yellow', TextColor='purple'</SC>

<SC>Type='CurRow', BgColor='Gold', TextColor='magenta'</SC>

<SC>Type='FocusSelRow', BgColor='Brown', TextColor='maroon'</SC>

<SC>Type='SelRow', BgColor='Green', TextColor='mistyrose'</SC>

">

</object>

[JavaScript]

<SCRIPT language=javascript>

function XXX() {

 GridID.SelectionColor += "<SC>Type='FocusEditCol', BgColor='Red', TextColor='Black'</SC>";

 GridID.SelectionColor += "<SC>Type='EditCol', BgColor='#aa6000', TextColor='navy'</SC>";

 GridID.SelectionColor += "<SC>Type='FocusEditRow', BgColor='Blue', TextColor='White'</SC>";

 GridID.SelectionColor += "<SC>Type='EditRow', BgColor='Pink', TextColor='Black'</SC>";

 GridID.SelectionColor += "<SC>Type='FocusCurCol', BgColor='Black', TextColor='White'</SC>";

 GridID.SelectionColor += "<SC>Type='CurCol', BgColor='Navy', TextColor='Goldk'</SC>";

 GridID.SelectionColor += "<SC>Type='FocusCurRow', BgColor='Yellow', TextColor='purple'</SC>";

 GridID.SelectionColor += "<SC>Type='CurRow', BgColor='Gold', TextColor='magenta'</SC>";

 GridID.SelectionColor += "<SC>Type='FocusSelRow', BgColor='Brown', TextColor='maroon'</SC>";

 GridID.SelectionColor += "<SC>Type='SelRow', BgColor='Green', TextColor='mistyrose'</SC>";

}

</SCRIPT>

SAMPLE

 

./sample/SelectionColor_s1.html

SEE ALSO

 

SelectionColorProp, SingleSelectionColor, ColSelect, Editable, MultiSelect, ReDraw