The easiest way is combine two implementation in one component TCalendar. But iOS give us a new way for choosing date by “barrels”.Īnd there is an important issue: “How to combine in one control TCalendar several way for displaying date and principal different ways for choosing date” Windows, OSX and Android have the similar way for choosing date by User. TCalendar fills TListBox with values of days based on current date and sets own event handlers on clicking on buttons and choosing day, year, month. This control for implementation uses TListBox with multicolumn mode for displaying days in current month and additional buttons TButton and TPopupBox for choosing month, year and navigation between adjacent months. It’s a visual component for displaying date or calendar and providing way of choosing date by user. Overview of new approach, we will begin from example. 4 Presentation Factory or choosing arbitrary representation.3 TPresentedControl – base of presentation approach.2 Communication “Control -> Presentation”, “Control -> Model”, “Model Presentation”.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |