ClassPackage: common-graphicsToCDocOverviewCGDocRelNotesIndexPermutedIndex
Allegro CL version 6.2
Unrevised from 6.1

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). 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-2002, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 6.2. This page was not revised from the 6.1 page.
Created 2002.2.26.

ToCDocOverviewCGDocRelNotesIndexPermutedIndex
Allegro CL version 6.2
Unrevised from 6.1