Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version

property-editor-type

Arguments: object name

In releases prior to 7.0, this generic function was called property-editor-mode. The name has changed to remove a name conflict with editor-mode.

Returns one of the symbols listed below, indicating the style of extended editing that will be performed by the inspector for the property of object named by name. The extended editor is invoked by pressing the small button on the right side of the value when a property row is chosen in the inspector. This function returns one of the following values:

For example, when running the IDE, you will typically have a Form window named :form1 (or sometimes :formN for an N bigger than one). Make a variable have that form as its value, perhaps by evaluating

(setf myform (find-window :form1))

Or by choosing Tools | Get Component, then clicking on the form window (away from any control), and then evaluating (setf myform *) in the Debug Window.

Once the value of myform is the form, then here are the editor modes for several form properties:

(property-editor-type myform 'background-color) RETURNS :color
(property-editor-type myform 'border) RETURNS :multiple-choice
(property-editor-type myform 'child-p) RETURNS :toggle
(property-editor-type myform 'class) RETURNS :multiple-choice
(property-editor-type myform 'cursor) RETURNS :long-expression
(property-editor-type myform 'height) RETURNS :number

Copyright (c) 1998-2012, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 8.2. This page was not revised from the 8.1 page.
Created 2010.1.21.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version