Microsoft KB Archive/140887

From BetaArchive Wiki
Knowledge Base


VB Grid Custom Control: Text Limited to 255 Characters

Article ID: 140887

Article Last Modified on 12/9/2003



APPLIES TO

  • Microsoft Visual Basic 4.0 Professional Edition
  • Microsoft Visual Basic 4.0 Professional Edition
  • Microsoft Visual Basic 4.0 16-bit Enterprise Edition
  • Microsoft Visual Basic 4.0 32-Bit Enterprise Edition



This article was previously published under Q140887

SUMMARY

The Text property for the Grid custom control can hold a string of up to 255 characters. If you assign a string longer than 255 characters to the grid Text property, the string is truncated.

This behavior is by design in Visual Basic. This behavior is similar to a text box control with the MultiLine property set to FALSE (0).


Additional query words: 1.00 2.00 3.00 4.00 vb4win vb4all

Keywords: KB140887