OldHawk

菜地一块,欢迎拍砖
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 2 3 4 5 6 7 8 9 10 ··· 14 下一页

2008年1月11日

摘要: Another example of something I’ve seen lately on the Internet, so I thought I’d build it in Flex. This time I usea TitleWindow to display the status message of a login form. You can close the message by clicking the X button in the upper-right corner of the title window. Note that there is no correct login. It will display the error message every time. In a future example I’ll try and add some fancy fade in/out effects or resize effects on the error message to give it that proper “Web 2 阅读全文

posted @ 2008-01-11 22:19 OldHawk 阅读(540) 评论(0) 推荐(0) 编辑

摘要: The following example demonstrates how to use embedded images in a List control so that each item in the list displays a little icon based on a certain property in the data provider. You’ll also notice that we set the textIndent style to give the label a bit more padding from the icon. Finally, we create three non-interactive Button controls beneath the list as a sort of “legend” for the icons 阅读全文

posted @ 2008-01-11 22:06 OldHawk 阅读(1022) 评论(0) 推荐(0) 编辑

摘要: making the ComboBox control display icons also should be pretty trivial. Well, after about 2 minutes of analyzing the documentation, it turns out it is pretty simple. The trick was to set the iconField property on the ComboBox instance’s dropdown property, which is a reference to the combo box’s internal List control 阅读全文

posted @ 2008-01-11 22:01 OldHawk 阅读(1468) 评论(0) 推荐(0) 编辑

摘要: The following example shows how you can create a simple ComboBox item renderer which displays multiline items in the ComboBox control’s drop down menu 阅读全文

posted @ 2008-01-11 21:48 OldHawk 阅读(1415) 评论(0) 推荐(0) 编辑

摘要: The following example pops up a custom context menu when the user right-clicks on an item in an data grid. After selecting the custom item (”View item…”) from the context menu an Alert control is displayed showing the selected item’s properties 阅读全文

posted @ 2008-01-11 18:30 OldHawk 阅读(1239) 评论(0) 推荐(0) 编辑

摘要: The following example shows how you can alternate item colors in a Flex Tree control by setting the alternatingItemColors style to an array of colors 阅读全文

posted @ 2008-01-11 10:46 OldHawk 阅读(516) 评论(0) 推荐(0) 编辑

摘要: The following example shows how you can alternate item colors based on the item’s depth in a Flex Tree control by setting the depthColors style to an array of colors 阅读全文

posted @ 2008-01-11 10:43 OldHawk 阅读(389) 评论(0) 推荐(0) 编辑

摘要: The following example shows you how you can override a specific node’s icon in a Flex Tree control ysing the Tree class’s setItemIcon() method. 阅读全文

posted @ 2008-01-11 10:37 OldHawk 阅读(826) 评论(0) 推荐(0) 编辑

摘要: The following example shows you how you can reorder nodes in a Flex Tree control by setting the dragEnabled, dropEnabled, and dragMoveEnabled properties 阅读全文

posted @ 2008-01-11 10:32 OldHawk 阅读(299) 评论(0) 推荐(0) 编辑

摘要: The following example shows how you can add custom context menu commands to a RichTextEditor control in Flex by setting the contextMenu property 阅读全文

posted @ 2008-01-11 10:13 OldHawk 阅读(479) 评论(0) 推荐(0) 编辑

摘要: The following example shows how you can customize the appearance of the title in an Alert control in Flex by setting the titleStyleName style 阅读全文

posted @ 2008-01-11 10:07 OldHawk 阅读(369) 评论(0) 推荐(0) 编辑

摘要: The following example shows how you can customize the appearance of the message text in an Alert control in Flex by setting the messageStyleName style 阅读全文

posted @ 2008-01-11 10:02 OldHawk 阅读(348) 评论(0) 推荐(0) 编辑

摘要: The following example shows how you can customize the appearance of the buttons in an Alert control in Flex by setting the buttonStyleName style 阅读全文

posted @ 2008-01-11 09:57 OldHawk 阅读(323) 评论(0) 推荐(0) 编辑

摘要: The following example shows how you can customize the appearance of the status message in an Alert control in Flex by setting the statusStyleName style and status property 阅读全文

posted @ 2008-01-11 09:55 OldHawk 阅读(334) 评论(0) 推荐(0) 编辑

2008年1月10日

摘要: The following code is a brief example of sorting a Flex XMLListCollection using the Sort and SortField classes, and the XMLListCollection.sort property. We also look at filtering the XMLCollection using a custom filter function 阅读全文

posted @ 2008-01-10 18:09 OldHawk 阅读(512) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 9 10 ··· 14 下一页