Copyright © 1998-2015 MultiMedia Soft

Shape property

Previous pageReturn to chapter overviewNext page

Type

long for Visual C++

enumShapes for Visual Basic

 

 

Syntax

object.Shape   [=enumShapes]

 

 

Remarks

The shape of the button.

Supported values are the following:

Mnemonic constant

Value

Meaning

SHAPE_RECTANGLE

0 (default)

Rectangle

3dabm_i000022

SHAPE_ROUNDRECT

1

Rounded Rectangle (*)

3dabm_i000023

SHAPE_PARALLEL (*)

2

Parallelogram (*)

3dabm_i000024

SHAPE_ELLIPSE

3

Ellipse

3dabm_i000025

SHAPE_GEM

4

Gem (*)

3dabm_i000026

SHAPE_CUSTOM (*)

5

Custom: the shape is determined by the PictureCustom property. By default, if no Picture has been entered in PictureCustom property, an octagonal shape is used.

The following is an example of a custom shaped button, a puffy cloud.

3dabm_i000027

SHAPE_TRIANGLE (*)

6

Triangle (*)

3dabm_i0000e1

SHAPE_TRAPEZE (*)

7

Trapeze (*)

3dabm_i0000e2

SHAPE_ARROW (*)

8

Arrow (*)

3dabm_i0000e3

SHAPE_HONEYCOMB_V

9

Vertical honeycomb

3dabm_i0000e4

SHAPE_HONEYCOMB_H

10

Horizontal honeycomb

3dabm_i0000e5

SHAPE_HONEYCOMB_45 (*)

11

45º honeycomb

3dabm_i0000eb

SHAPE_HONEYCOMB_135 (*)

12

135º honeycomb

3dabm_i0000ec

SHAPE_DIAMOND (*)

13

Diamond

3dabm_i0000e6

SHAPE_KEYHOLE (*)

14

Keyhole (*)

3dabm_i0000e7

SHAPE_4LEAFCLOVER_V (*)

15

Vertical four leaf clover

3dabm_i0000e8

SHAPE_4LEAFCLOVER_D (*)

16

Diagonal four leaf clover

3dabm_i0000e9

SHAPE_ALFALFA (*)

17

Alfalfa (*)

3dabm_i0000ea

 

(*) Shapes marked with a red asterisk can have a further modification of their shape through the Orientation property.

(*) Shapes marked with a green asterisk are not available when the Surface property is set to one of the following styles:

SURFACE_VISTA_AERO

SURFACE_OFFICE_2003

SURFACE_OFFICE_2007