Resizeable  Retrieve

Chapter 3: DataWindow Object Properties

RetainNewLineChar

Description

Whether line feed and carriage return characters contained within a row in the DataWindow are converted to white space.

Applies to

DataWindows

Syntax

PocketBuilder dot notation:

dw_control.Object.DataWindow.RetainNewLineChar

Describe and Modify argument:

"DataWindow.RetainNewLineChar { = value }"

Parameter

Description

value

Whether line feed and carriage return characters embedded in the data for a DataWindow are replaced with white space. Values are:

  • True — Line feed and carriage return characters within a row are retained.

  • False — (Default) Line feed and carriage return characters within a row are converted to white space.

Examples

Example 1

string str
str = dw_1.Object.DataWindow.RetainNewLineChar
dw_1.Object.DataWindow.RetainNewLineChar="False"
str = dw_1.Describe("DataWindow.RetainNewLineChar")
dw_1.Modify("DataWindow.RetainNewLineChar=False")





Copyright © 2004. Sybase Inc. All rights reserved. Retrieve

View this book as PDF