CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2016
    Posts
    4

    Unhappy It is possible to set data type of MSFlexgrid columns in VB6

    i am using MSFlexgrid object, and using it for read / Write from CSV file.

    I want to set data type of columns of grid objects, like Column 1 Contains only String data type, 2nd column should contains Bool (True/False, 0/1), etc.. Is this possible?

    Or is there any other Active X Objects available?

    Any help really appreciated

  2. #2
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,362

    Re: It is possible to set data type of MSFlexgrid columns in VB6

    Not really, the cells can accept various types of data but are not restricted. I think there is a format setting that will handle the way something is displayed but I could be thinking of the datagrid instead as I do not use either of them very much anymore.

    Of course since you are loading your grid through code you have full control over what you place in each cell and how you display it, same for writing.
    Always use [code][/code] tags when posting code.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured