In situations where you would like to display data one record at a time, you can set the DataView property to DataViewEnum.Form. You can set this property either in the designer or in code to display data in an editable form similar to the one in the following illustration.
To adjust the width of the data column area or the caption column area, change the ViewColumnWidth and ViewCaptionWidth properties to create the appropriate column spacing.
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |