Sybase 2 Barcode Reader User Manual


 
CHAPTER 7 Working with Controls in DataWindow Objects
DataWindow Designer User’s Guide 211
5 Select the action you want to assign to the button from the Action
drop-down list.
For information about actions, see “Actions assignable to buttons in
DataWindow objects” on page 211.
6 If you want to add a picture to the button, select the Action Default Picture
check box or enter the name of the Picture file to display on the button.
7 Click OK.
Controlling the display of buttons in print preview and on printed output
You can choose whether to display buttons in print preview or in printed
output. You control this in the Properties view for the DataWindow object (not
the Properties view for the button).
To control the display of buttons in a DataWindow object in print preview
and on printed output:
1 Display the DataWindow object’s Properties view with the Print
Specification page on top.
2 Select the Display Buttons – Print check box.
The buttons are included in the printed output when the DataWindow
object is printed.
3 Select the Display Buttons – Print Preview check box.
The buttons display on the screen when viewing the DataWindow object
in print preview.
Actions assignable to buttons in DataWindow objects
Table 7-2 shows the actions you can assign to a button in a DataWindow object.
Each action is associated with a numeric value (the Action DataWindow object
property) and a return code (the actionreturncode event argument).