AndrewMozley
Programmer
I have a modal form which can be used to browse and edit a cursor. So, the name of the cursor and the column captions are passed across; the cursor might contain three fields, quantity, date and comment. After editing the modified cursor is available to the calling form.
This works fine.
I also have a date/textbox class which allows a date to be edited. It has one property, this.zDate which is indeed a date, but the class itself is of base class textbox. It normally displays as ’27-Dec-17’, but when it has focus and is being edited it displays ’27-11-17’, with an input mask of ‘99-99-99’.
I would like to use this control class as a means of editing any of the fields which are dates, using :
but this is not an immediate success , because of the conflicting data types of the field in the cursor and the new control.
Grateful for helpful suggestions. Thanks, Andrew
This works fine.
I also have a date/textbox class which allows a date to be edited. It has one property, this.zDate which is indeed a date, but the class itself is of base class textbox. It normally displays as ’27-Dec-17’, but when it has focus and is being edited it displays ’27-11-17’, with an input mask of ‘99-99-99’.
I would like to use this control class as a means of editing any of the fields which are dates, using :
Code:
. . .Column1.addobject() . . . .
. . .Column1.curentcontrol = . . .
. . .
but this is not an immediate success , because of the conflicting data types of the field in the cursor and the new control.
Grateful for helpful suggestions. Thanks, Andrew