datechooser

Flex DateChooser events for individual days?

a 夏天 提交于 2019-12-13 02:55:09
问题 I'm using a DateChooser, and want to show different information in a tooltip as the user rolls over each day. Is there an event that fires as I'm rolling around the calendar that will tell me what day I'm currently over? 回答1: It's a little complicated. You're going to need to use the mx_internal namespace. The grid portion of the DateChooser component is a CalenderLayout component in DateChooser.as. mx_internal var dataGrid:CalenderLayout; CalenderLayout.as has the mouseMoveHandler. In the

Flex 4 DateChooser

 ̄綄美尐妖づ 提交于 2019-12-01 08:26:06
问题 I have an Array of days. I want those days to have a different background-color in the DateChooser component, say red. How can I do that please? 回答1: The DateChooser isn't that easy to customise! Something close to this will work, though you'll need to tweak it somewhat to suit what you want to do. public class FancyDateChooser extends DateChooser { public var fancyStyleName : String; public var dayToMakeFancy : String; protected override createChildren() : void { super.createChildren(); var