HELP changing component focus border color

Ask a Question related to Macromedia Flash Actionscript, Design and Development.

  1. #1

    Default HELP changing component focus border color

    Hello,

    I have a datagrid v2 component that I have been able to customize changing
    the scrollbar skins and some styles... But I can't find the way to remove
    the green border that appears when the datagrid gets focus.

    This is what I have so far:

    dealersgrid.setStyle("rollOverColor", 0x434552)
    dealersgrid.setStyle("selectionColor", 0x434552)
    dealersgrid.setStyle("borderStyle", "solid")
    dealersgrid.setStyle("borderColor", 0x999999)
    dealersgrid.setStyle("textRollOverColor", 0xFFFFFF)
    dealersgrid.setStyle("textSelectedColor", 0xFFFFFF)
    dealersgrid.setStyle("color", 0xFFFFFF)
    dealersgrid.setStyle("fontSize", 11)
    dealersgrid.setStyle("fontFamily", "Arial")
    dealersgrid.setStyle("backgroundColor", 0x23242C)
    dealersgrid.setStyle("vGridLineColor", 0x999999)
    dealersgrid.headerStyle.setStyle("color", 0x23242C)
    dealersgrid.headerStyle.setStyle("fontSize", 12)
    dealersgrid.ScrollSelectList.setStyle("borderStyle ", "none")

    Thanks you very much in advance for your help

    Alejandro

    Alejandro Ramos Guest

  2. Similar Questions and Discussions

    1. changing a border/frame style
      I know in Quark, a frame editor comes with the program which allows you to create custom borders. Is such a feature available in ID? If so how do...
    2. how to focus to different component
      Hi from Action sctipt code i want to redirect my focus to another textfield. I was tried a lot for this small thing:). Can you give me some hint on...
    3. Changing component button text color on mouseover
      Is it possible to change the button text color on a mouseover event? I initialize the button text color like this: ...
    4. setting and changing focus
      I am having a brain dead day and can not remmember how to do the following: I have a Flash Form and I want to change and set the focus for fields...
    5. changing text color of list component
      Does anyone know how to change the text color of individual elements in a list component. I know I can use setStyle to change all the text colors...
  3. #2

    Default Re: HELP changing component focus border color

    Got it:

    myComponent.drawFocus="";

    On 1/14/04 5:09 PM, in article BC2B285B.11304%ramos@citruslab.com,
    "Alejandro Ramos" <ramos@citruslab.com> wrote:
    > Hello,
    >
    > I have a datagrid v2 component that I have been able to customize changing
    > the scrollbar skins and some styles... But I can't find the way to remove
    > the green border that appears when the datagrid gets focus.
    >
    > This is what I have so far:
    >
    > dealersgrid.setStyle("rollOverColor", 0x434552)
    > dealersgrid.setStyle("selectionColor", 0x434552)
    > dealersgrid.setStyle("borderStyle", "solid")
    > dealersgrid.setStyle("borderColor", 0x999999)
    > dealersgrid.setStyle("textRollOverColor", 0xFFFFFF)
    > dealersgrid.setStyle("textSelectedColor", 0xFFFFFF)
    > dealersgrid.setStyle("color", 0xFFFFFF)
    > dealersgrid.setStyle("fontSize", 11)
    > dealersgrid.setStyle("fontFamily", "Arial")
    > dealersgrid.setStyle("backgroundColor", 0x23242C)
    > dealersgrid.setStyle("vGridLineColor", 0x999999)
    > dealersgrid.headerStyle.setStyle("color", 0x23242C)
    > dealersgrid.headerStyle.setStyle("fontSize", 12)
    > dealersgrid.ScrollSelectList.setStyle("borderStyle ", "none")
    >
    > Thanks you very much in advance for your help
    >
    > Alejandro
    >
    Alejandro Ramos Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139