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

    Is there any way of splitting an edit box into 2 columns?

    I have a multiline edit box. I want the user to be able to enter data on the left side of the edit box up to a certain line. For example,

    [text, text, text, text | ]
    [more text, | ]



    Then hitting tab button shifts the cursor to the other side of this center line so that the user can enter data to the right of this dotted line.

    Is this at all possible, and if so, how would go about implementing it?

    Any response any one can give me will be greatly appreciated.

    Sincerely,
    Danielle


  2. #2
    Join Date
    Oct 1999
    Location
    Broomfield, CO
    Posts
    3,382

    Re: Is there any way of splitting an edit box into 2 columns?

    Try putting two edit controls up against each other in the dialog. In the Dialog Editor, remove the Border style and select the Static Edge style.

    Be sure to set your dialog's Tab Order so that the edit controls are numerically adjacent.


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