ddlb.property  Depth

Chapter 3: DataWindow Object Properties

DefaultPicture

Description

Specifies whether a button displays a default picture for the button’s action.

Applies to

Button controls

Syntax

PocketBuilder dot notation:

dw_control.Object.buttonname.DefaultPicture

Describe and Modify argument:

"buttonname.DefaultPicture { = ' value ' }"

Parameter

Description

buttonname

The name of the button to which you want to assign an action.

value

Whether the action’s default picture is used. Values are:

  • Yes — Use the default picture.

  • No — Do not use the default picture.

Usage


In the painter

Select the control and set the value in the Properties view, General tab, Action Default Picture option. When the check box is not selected, you can specify a picture file name in the Picture File option. Button pictures can be BMP, GIF, or JPEG files.

Examples

Example 1

dw_1.Object.b_name.DefaultPicture = "Yes"

Example 2

setting = dw_1.Describe("b_name.DefaultPicture")

Example 3

dw_1.Modify("b_name.DefaultPicture ='No'")

See also





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

View this book as PDF