![]() |
|
||||||||||
|
|||||
|
Регистрация: Feb 2003
Сообщений: 15
|
Кто подскажет, как в 2004 MX (или любом другом) настроить цветовую схему этого компонента(цвета появляющегося скролинга). Т.е. где либо список всех свойств есть (во встроенном хелпе точно нету, либо он там куда-то очень сильно спрятан - за прошедшие пару лет руки у Макромедии прямее не стали :killanasshole: )?
|
|
|||||
|
выбрат на сцене правая кнопка Эдит и хот формы меняй и код переписвыай
__________________
--- |
|
|||||
|
globalStyleFormat.arrow = 0x800080;
... globalStyleFormat.textColor = 0xffffff; globalStyleFormat.applyChanges(); ________________ FStyleFormat.arrow The color of the arrow used in scroll bars and drop-down lists. FStyleFormat.background The color of the background portion of a component. FStyleFormat.backgroundDisabled The color of the background portion of a disabled component. FStyleFormat.check The color of the check mark in a selected check box. FStyleFormat.darkshadow The color of the inner border or darker shadow portion of a component. FStyleFormat.face The main color of the component. FStyleFormat.foregroundDisabled The foreground color of a disabled component. FStyleFormat.highlight The color for the inner border or darker shadow portion of a component when it is selected. FStyleFormat.highlight3D The color for the outer border or light shadow portion of a component when it is selected. FStyleFormat.radioDot The color of the dot in a selected radio button. FStyleFormat.scrollTrack The color of the track in a scroll bar. FStyleFormat.selection The color of the selection bar highlighting a list item in a component. FStyleFormat.selectionDisabled The color of the selection bar that highlights a list item in a disabled component. FStyleFormat.selectionUnfocused The color of the selection bar when the component does not have key board focus. FStyleFormat.shadow The color of the outer border or light shadow portion of a component. FStyleFormat.textAlign The alignment (left, right, or center) for text displayed in or on a component. FStyleFormat.textBold Specifies whether text is bold (true) or not (false). FStyleFormat.textColor The default text color in all components assigned to the style format. FStyleFormat.textDisabled The color of the text in a disabled component. FStyleFormat.textFont The name of the font to display text. FStyleFormat.textIndent The indentation of the text from the left margin to the first text character, in pixels. FStyleFormat.textItalic Specifies whether text is italic (true) or not (false). FStyleFormat.textLeftMargin The left paragraph margin for text, in pixels. FStyleFormat.textRightMargin The right paragraph margin for text, in pixels. FStyleFormat.textSelected The color of a selected list item in a component. FStyleFormat.textSize The size of the text, in points. FStyleFormat.textUnderline Specifies whether text is underlined (true) or not (false). (с) MX HELP |
|
|||||
|
Регистрация: Oct 2003
Адрес: холодная Эстония
Сообщений: 204
|
скажите ... а вообще большая польза та от этих компонентов?...
по-мойму соотношение вес/функции не соблюдены ... |
|
|||||
|
соблюдены соотношение функции/усилия
|
|
|||||
|
функция / усииля да а вес просто жопа. Я сам такие штуки пшу так на много меньше
__________________
--- |
|
|||||
|
Регистрация: Feb 2003
Сообщений: 15
|
Цитата:
![]() |
|
|||||
|
и штук таких наверное значительно меньше выходит
![]() |
|
|||||
|
Регистрация: Feb 2003
Сообщений: 15
|
Чтобы не быть голословным - вот файл со скроллпейном (переименуйте в .rar и распакуйте). Как сменить в нем цвет подсветки кнопок при скролинге на, допустим, красный. Только не надо слов - просто пример.
P.S. потому что все вышеописанное работает с компонентой из MX, но не работает с компонентой из 2004 MX. |
|
|||||
|
Регистрация: Feb 2001
Сообщений: 1,893
|
mScrollPane.setStyle("backgroundColor",0xFF0000);
![]() |
![]() |
Часовой пояс GMT +4, время: 15:40. |
|
|
« Предыдущая тема | Следующая тема » |
|
|