The Grid control functions identically to the Tab control with the exception that it is two dimensional rather than one dimensional. Hence, it has the same parameters and functions in the same way. The one difference is that the number of horizontal and vertical elements are specified in the control instead of being determined by the program. The grid control, as it is used in Panel Edit, is intended to show a selection of parameters while hiding others that occupy the same space. This allows editors to use the screen's working area more efficiently. The Grid is created by dividing the area of the control into a programmable number of equally spaced sections. It is expected that frequently a tab will be placed over a background bitmap which actually displays the options. Clicking on the particular area will cause the tab to show or hide groups of controls. The control can, of course, be used for parameter editing as well. Horizontal Elements specifies the number of horizontal elements to create. Vertical Elements specifies the number of vertical elements to create. Direction specifies whether the grid is laid out vertically
or horizontally
Display Style specifies how the control is displayed. There are three possible options:
Select State specifies how the control shows its active selection. There are three options:
Align Style specifies where within each tab any defined text is drawn
Display Bitmap specifies the bitmap to use as the control's background when the Display Style is set to Bitmap
Highlight Bitmap specifies the alternate bitmap that is used to show the highlighted tab when Select State is set to Alternate Bmp
Make Transparent When checked, the background bitmap is specified to have a transparency color which allows elements of the background to pass through it
Transparent Color Transparent Color uses a standard Color Select Dialog to select and specify the color that is considered to be transparent in the bitmaps when Make Transparent is enabled
Tab Titles Use the tab titles to associate text with the first 16 tabs. For more than 16 tabs, you will need to create a bitmap which includes any desired text.
Font Select Select the font that the control uses to display the value. This font can be any one of the eight defined in the Skin.
Rounding When checked, the corners of the control are rounded.
Hide Text When checked, any text defined text is not displayed in the grid control and is only used to display the current state in the pop-up display.
Read from .ini When a non-zero value is entered in this parameter, Midi Quest reads the text assigned to each element of the grid from a StringList block of text in the editor's .ini file instead of using the title information stored in the control. This is essential for grids with more than 16 elements.
Enable (Bitmap font) This parameter specifies whether a standard or bitmap font is used the render the text in the grid. The parameter has the following options: Off - use the system to render the text On - Midi Quest renders the text using a bitmap font On/Transparent - Midi Quest renders the text using a transparent bitmap font
Bitmap # (Bitmap font) specifies the number of the bitmap in the editor's bitmap list to use as the bitmap font.
Available in:
|