-
[RESOLVED] Accesssing a component's properties
Hi,
I am working on this chat I'd like to personalize and I'd like to know if there's any difference between having a list box component by itself or inside a clip.
I've had to copy it this way since I can't get it to work if I use it as is.
My file is here: https://onedrive.live.com/?cid=CD824...10C6E8AC%21131. It's now working but I'd like to apply different format to the boxes.
-
Senior Member
Sorry, I did not check your file, but to this
if there's any difference between having a list box component by itself or inside a clip.
The answer is, clips are pretty much like files or folders, they only serve to organize stuff. You don't have to use them, but you might want to. That probably does not help much, but I already wrote it, so... where's the post button?
-
I know I won't make myself clear.
I used to have:
Code:
roomList_lb.setStyle("backgroundColor", 0xFFFFFF);
roomList_lb.setStyle("fontFamily","Arial");
roomList_lb.setStyle("fontSize",12);
roomList_lb.setStyle("color", 0x330000);
roomList_lb.setStyle("rollOverColor","0xDDDDDD");
roomList_lb.setStyle("selectionColor","0xAAAAAA");
roomList_lb.setStyle("textSelectedColor","0xFFFFFF");
roomList_lb.setStyle("textRollOverColor","0xFF9966");
roomList_lb.setStyle("selectionDuration",0);
roomList_lb.setStyle("borderStyle","solid");
roomList_lb.setStyle("borderColor","0xCC3300");
roomList_lb.setStyle("themeColor","0x999999");
// roomList_lb.rowHeight = 30;
for a list box component, but then I can't apply the handlers:
Code:
roomList_lb.setChangeHandler("changeRoom");
userList_lb.setChangeHandler("userSelected");
to allow sending a private message or joining a private room.
Could a plain component offer this?
-
Ok. I got it. That component was a MX component.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|