ClassPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 9.0
Unrevised from 8.2 to 9.0.
8.2 version

button-info

Class

The class of individual button on a multi-picture-button control.

Creating a button-info instance

This call to make-instance returns an instance of a button-info. Properties can be initialization keyword arguments (the keyword has the same name as the property, with a prepended colon, e.g. :width for width). Additional arguments could be provided. Their absence indicates the default value will be used.

(make-instance 'button-info
               :name :new
               :pixmap-name :new
               :pixmap-source nil
               :pixmap-icon nil
               :background-color nil
               :foreground-color nil
               :title nil
               :width nil
               :height nil
               :stretching t
               :tooltip nil
                :help-string "Open a blank editor window")

See About how to get sample code for creating controls in cgide.htm, which explains how to use the IDE to create such code. The example above came from placing a multi-picture-button on a form and looking at the resulting .bil file.


Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

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