ActiveX Flexgrid Control in combination with ActiveX Calender Control

Posted by: t.schroeer on 18 November 2019, 7:13 pm EST

  • Posted 18 November 2019, 7:13 pm EST

    I use the ActiveX Flexgrid for input in a project for a delivery note generation. Among other things, I have two fields in which the delivery times are stored as the date and time. I've formatted these two fields:

    c1fg.ColDataType (COL_PLAN_LS_DATUM) = flexDTDate
    c1fg.ColAlignment (COL_PLAN_LS_DATUM) = flexAlignLeftCenter
    c1fg.ColFormat (COL_PLAN_LS_DATUM) = " hh: mm"
    c1fg.ColEditMask (COL_PLAN_LS_DATUM) = "00/00/0000 00:00"

    Is it possible to enter the date with the help of a calendar? And if so, how do I do that?
  • Marked as Answer

    Replied 21 November 2019, 2:51 pm EST


    Please refer the product sample DTPick which demonstrates how to use a DateTimePicker control to enter and edit date entries in VSFlexGrid. The sample should be available at the following location on your machine:
    ..\Documents\ComponentOne Samples\ActiveX\VS FlexGrid Pro 8.0

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels