ISBevel.Height

Description

The height of the specified bevel in pixels.

Syntax

object.Height

Part Attribute Type Description
object Required
The object always implements the ISBevel interface

Return Value

int

Example

Display some information about the specified bevel, including its height in pixels.

Dim aBevel
Dim aBevelInfo

Set aBevel = Form.Controls_("Bevel2")

aBevelInfo =_
  "Caption: " & aBevel.Caption & vbNewLine &_
  "ShortName: " & aBevel.ShortName & vbNewLine &_
  "TypeName: " & aBevel.TypeName & vbNewLine &_
  "Width: " & aBevel.Width & vbNewLine &_
  "Height: " & aBevel.Height & vbNewLine &_
  "Left: " & aBevel.Left & vbNewLine &_
  "Top: " & aBevel.Top & vbNewLine &_
  "Style: " & aBevel.Style & vbNewLine &_
  "Tag: " & aBevel.Tag & vbNewLine                                              
  
Profile.MsgBox(aBevelInfo) 
Note: This macro should be executed in any event handler of the form control.

In Profile Client v8 on User Interface Height can be found in Maintain > Templates > Health Record Collection Templates > Open the selected form template > Open form editor > Object Inspector > Select the bevel in the controls tree > Properties > Height.

Version information

Added in v7.8.0