|
|
|
[
Permlink
| « Hide
]
Benjamin Shine - 29/Mar/06 05:59 PM
Bruce Cummins has contributed a fix, which I need to review and apply.
I'm attaching files from Bruce with a fix. These need to be reviewed and checked in.
Changes to basewindow: Added the attribute allowdrag This attribute defaults to true so all applications that expect windows to be draggable will work as normal. Modified the method _startDrag. The drag now only occurs if allowdrag equals true. Changes to datepicker: Added the attribute allowdrag. This attribute defaults to true. Defined the attribute allowdrag for the windowpanel "main". This attribute is tied to the value defined in the datepicker class. datepickerdragtest.lzx The first datepicker does not have the attribute defined - it should be draggable. The second dragpicker has allowdrag defined as true - it should be draggable. The third datepicker has allowdrag defined as false - it should not be draggable. Fix contributed by Bruce Cummins, reviewed by Ben Shine
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||