Class: cWebColumnDate

Properties  Events  Methods    Index of Classes

Web Framework class that adds a prompt button with a date picker to a list or grid cell



Library: Web Application Class Library

Package: cWebColumnDate.pkg

Mixins: cWebColumn_mixin


Web list and grid controls provide the basis for creating multi-row, multi-column display and entry. Each column in a grid is represented by a column object. Web lists and grids (cWebList, cWebGrid) use the cWebColumn, cWebColumnButton, cWebColumnCheckbox, cWebColumnCombo, cWebColumnDate, cWebColumnImage and cWebColumnLink classes for column objects.

The date picker column allows developers to use the cWebDateForm within a cWebList or cWebGrid. It behaves like a standard cWebColumn, but shows a prompt button that pops up the date picker.


Object oCustomerCreated is a cWebColumnDate
    Entry_Item Customer.Created
    Set psCaption to "Created"
    Set piWidth to 10

In the code sample above we see how the cWebColumnData class would be used. This code would be placed within a cWebList and works like any other column.

Drag and Drop Support

This control can be used as a valid drop target by registering it as such in a cWebDragDropHelper object.

The supported actions for this control are:
- C_WebDropOnControl

This allows the control to accept data dragged from elsewhere in the control (if configured that way) and can also be used to accept files when registered within a cWebDragDropFileHelper.