My response to this was in error. In VB6, both the multiline and scrollbars properties are read-only at run time, so they cannot be set.
The only way to do this, that I know of, is to create multiple textboxes, one for each combination of possible properties, and make the desired one visible and the others not visible at run time.
This is perhaps best encapsulated into a custom OCX.
Sorry for the error.
Jeff Mason
Custom Apps, Inc.
www.custom-apps.com