Contents
DataWindow Designer User’s Guide ix
The DropDownDataWindow edit style................................... 249
The InkEdit edit style............................................................. 251
Defining a code table ................................................................... 251
How code tables are implemented........................................ 252
How code tables are processed............................................ 253
Validating user input.............................................................. 254
About validation rules................................................................... 255
Understanding validation rules.............................................. 255
Working with validation rules........................................................ 256
Defining validation rules ............................................................... 257
Defining a validation rule in the Database painter................. 257
Defining a validation rule in the DataWindow painter............ 260
How to maintain extended attributes............................................ 263
CHAPTER 9 Filtering, Sorting, and Grouping Rows ..................................... 265
Filtering rows................................................................................ 265
Sorting rows ................................................................................. 267
Suppressing repeating values............................................... 269
Grouping rows.............................................................................. 270
Using the Group presentation style....................................... 272
Defining groups in an existing DataWindow object ............... 276
CHAPTER 10 Highlighting Information in DataWindow Objects ................... 285
Highlighting information................................................................ 285
Modifying properties when designing.................................... 285
Modifying properties at runtime............................................. 286
Modifying properties conditionally at runtime ............................... 289
Example 1: creating a gray bar effect.................................... 290
Example 2: rotating controls.................................................. 291
Example 3: highlighting rows of data..................................... 292
Example 4: changing the size and location of controls ......... 294
Supplying property values............................................................ 295
Background.Color.................................................................. 297
Border.................................................................................... 298
Brush.Color ........................................................................... 299
Brush.Hatch........................................................................... 300
Color...................................................................................... 301
Font.Escapement (for rotating controls)................................ 302
Font.Height............................................................................ 303
Font.Italic............................................................................... 304
Font.Strikethrough................................................................. 305
Font.Underline....................................................................... 306
Font.Weight........................................................................... 306