You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by mark goldin <ma...@gmail.com> on 2016/11/19 16:47:13 UTC

Prevent an item to be highlighted in TileList

Can some please explain how I can stop highlighting of an item in the
TileList? I am attaching pictures that illustrate it.
One picture shows top ab bottom border when I click on the item. The other
shows what happens when I move a mouse over.

My TileList is something like this:
<mx:TileList name="projectItemTileList" backgroundColor="3158064"
direction="horizontal"
borderStyle="none" width="100%"
dataProvider="..........">
<mx:itemRenderer>
<mx:Component>
<mx:Canvas>
<mx:HBox>
<mx:TextArea text="1234567890" width="125" height="125" editable="false">
</mx:TextArea>
</mx:HBox>
</mx:Canvas>
</mx:Component>
</mx:itemRenderer>
</mx:TileList>

Please, help.

Thanks

Re: Prevent an item to be highlighted in TileList

Posted by mark goldin <ma...@gmail.com>.
Thanks for help, works fine now.

On Sat, Nov 19, 2016 at 2:38 PM Clint M <cm...@gmail.com> wrote:

> or this
> http://www.m2websites.com/disable-list-item-highlighting-in-flex-3/
>
> <mx:TileList useRollOver="false" selectable="false" focusEnabled="false"
> [...] ></mx:TileList>
>
> On Sat, Nov 19, 2016 at 12:35 PM, Clint M <cm...@gmail.com> wrote:
>
> > maybe this https://forums.adobe.com/thread/26219
> >
> > [image: Gregory Lafrance]
> > <https://forums.adobe.com/people/Greg%20Lafrance>
> > *Correct Answer*by Gregory Lafrance
> > <https://forums.adobe.com/people/Greg%20Lafrance> on Jan 12, 2009 9:50
> AM
> >
> >
> >
> > MXML
> > <mx:DataGrid id="dg" selectionColor="dg.getStyle('backgroundColor')"/>
> >
> > AS
> > dg.setStyle("selectionColor", dg.getStyle("backgroundColor"));
> >
> > On Sat, Nov 19, 2016 at 8:47 AM, mark goldin <ma...@gmail.com>
> > wrote:
> >
> >> Can some please explain how I can stop highlighting of an item in the
> >> TileList? I am attaching pictures that illustrate it.
> >> One picture shows top ab bottom border when I click on the item. The
> >> other shows what happens when I move a mouse over.
> >>
> >> My TileList is something like this:
> >> <mx:TileList name="projectItemTileList" backgroundColor="3158064"
> >> direction="horizontal"
> >> borderStyle="none" width="100%"
> >> dataProvider="..........">
> >> <mx:itemRenderer>
> >> <mx:Component>
> >> <mx:Canvas>
> >> <mx:HBox>
> >> <mx:TextArea text="1234567890" width="125" height="125"
> editable="false">
> >> </mx:TextArea>
> >> </mx:HBox>
> >> </mx:Canvas>
> >> </mx:Component>
> >> </mx:itemRenderer>
> >> </mx:TileList>
> >>
> >> Please, help.
> >>
> >> Thanks
> >>
> >
> >
>

Re: Prevent an item to be highlighted in TileList

Posted by Clint M <cm...@gmail.com>.
or this http://www.m2websites.com/disable-list-item-highlighting-in-flex-3/

<mx:TileList useRollOver="false" selectable="false" focusEnabled="false"
[...] ></mx:TileList>

On Sat, Nov 19, 2016 at 12:35 PM, Clint M <cm...@gmail.com> wrote:

> maybe this https://forums.adobe.com/thread/26219
>
> [image: Gregory Lafrance]
> <https://forums.adobe.com/people/Greg%20Lafrance>
> *Correct Answer*by Gregory Lafrance
> <https://forums.adobe.com/people/Greg%20Lafrance> on Jan 12, 2009 9:50 AM
>
>
>
> MXML
> <mx:DataGrid id="dg" selectionColor="dg.getStyle('backgroundColor')"/>
>
> AS
> dg.setStyle("selectionColor", dg.getStyle("backgroundColor"));
>
> On Sat, Nov 19, 2016 at 8:47 AM, mark goldin <ma...@gmail.com>
> wrote:
>
>> Can some please explain how I can stop highlighting of an item in the
>> TileList? I am attaching pictures that illustrate it.
>> One picture shows top ab bottom border when I click on the item. The
>> other shows what happens when I move a mouse over.
>>
>> My TileList is something like this:
>> <mx:TileList name="projectItemTileList" backgroundColor="3158064"
>> direction="horizontal"
>> borderStyle="none" width="100%"
>> dataProvider="..........">
>> <mx:itemRenderer>
>> <mx:Component>
>> <mx:Canvas>
>> <mx:HBox>
>> <mx:TextArea text="1234567890" width="125" height="125" editable="false">
>> </mx:TextArea>
>> </mx:HBox>
>> </mx:Canvas>
>> </mx:Component>
>> </mx:itemRenderer>
>> </mx:TileList>
>>
>> Please, help.
>>
>> Thanks
>>
>
>

Re: Prevent an item to be highlighted in TileList

Posted by Clint M <cm...@gmail.com>.
maybe this https://forums.adobe.com/thread/26219

[image: Gregory Lafrance] <https://forums.adobe.com/people/Greg%20Lafrance>
*Correct Answer*by Gregory Lafrance
<https://forums.adobe.com/people/Greg%20Lafrance> on Jan 12, 2009 9:50 AM



MXML
<mx:DataGrid id="dg" selectionColor="dg.getStyle('backgroundColor')"/>

AS
dg.setStyle("selectionColor", dg.getStyle("backgroundColor"));

On Sat, Nov 19, 2016 at 8:47 AM, mark goldin <ma...@gmail.com> wrote:

> Can some please explain how I can stop highlighting of an item in the
> TileList? I am attaching pictures that illustrate it.
> One picture shows top ab bottom border when I click on the item. The other
> shows what happens when I move a mouse over.
>
> My TileList is something like this:
> <mx:TileList name="projectItemTileList" backgroundColor="3158064"
> direction="horizontal"
> borderStyle="none" width="100%"
> dataProvider="..........">
> <mx:itemRenderer>
> <mx:Component>
> <mx:Canvas>
> <mx:HBox>
> <mx:TextArea text="1234567890" width="125" height="125" editable="false">
> </mx:TextArea>
> </mx:HBox>
> </mx:Canvas>
> </mx:Component>
> </mx:itemRenderer>
> </mx:TileList>
>
> Please, help.
>
> Thanks
>