ObjectDCL Banner

DwgList_SetRowHeight Method

Description

This method will change the height of each Dwg file item so the thumbnail preview image height will be updated.

Parameters

MyControlReference
Reference to the control in the form of MyProject_MyForm_MyControl.
ProjectFile
String identifying the project as it was passed in LoadProject.
DialogName
String identifying the dialog by name.
ControlName
String identifying the control by name.
nRowHeight
Integer identifying the row height to apply.

Return Values

Returns the following according to the situation:

  • T when successful.
  • Nil if the control is not found.

AutoLISP Syntax

The recommended convention is passing the control identifier directly:

CopyCode imageCopy Code
(Odcl_DwgList_SetRowHeight 
		MyControlReference [as Reference]
		nRowHeight [as Integer])

An alternative convention is to identify the control by providing the project file, the dialog name and the control name:

CopyCode imageCopy Code
(Odcl_DwgList_SetRowHeight
		ProjectFile [as String]
		DialogName [as String]
		ControlName [as String]
		nRowHeight [as Integer])

Applies For

DwgList.

Example

CopyCode imageCopy Code
; Set the row height to medium setting (assuming a size setting in the application)
(Odcl_DwgList_SetRowHeight MyProject_MyForm_MyControl 75)