Sybase 2 Barcode Reader User Manual


 
Defining edit styles
242 DataWindow .NET
Working with edit styles in the DataWindow painter
An edit style you assign to a column in the Database painter is used by default
when you place the column in a DataWindow object. You can override the edit
style in the DataWindow painter by choosing another edit style from the
extended attribute system tables or defining an ad hoc style for one specific
column.
To specify an edit style for a column:
1 In the DataWindow painter, move the pointer to the column, select
Properties from the column's pop-up menu, and then select the Edit tab.
2 Select the type of edit style you want from the Style Type drop-down list.
The information on the Edit property page changes to be appropriate to the
type of edit style you selected.
3 Do one of the following:
Select an edit style from the Style Name box.
Create an ad hoc edit style for the column, as described in "Defining
edit styles" next.
Defining edit styles
This section describes how to specify each type of edit style.
The Edit edit style
By default, columns use the Edit edit style, which displays data in an edit
control. You can customize the appearance and behavior of the edit control by
modifying a column's Edit edit style. To do so, select Edit in the Style Type
drop-down list and specify the properties for that style:
To restrict the number of characters users can enter, enter a value in the
Limit box.
To convert the case of characters upon display, enter an appropriate value
in the Case box.
To have entered values display as asterisks for sensitive data, check the
Password box.