Category:GUI: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
No edit summary
Line 24: Line 24:
The appearance of PRINTed sunken fields has been improved.
The appearance of PRINTed sunken fields has been improved.


;Input Fields-
===Input Fields===


To specify the color attributes of an inactive field you must set the attribute "[ INACTIVE]" i.e.
To specify the color [[attributes]] of an inactive field you must set the attribute "[ INACTIVE]" i.e.


  00200 execute "config attribute [ INACTIVE]N/#0000FF:#FFFFFF,font=SWISS:MEDIUM"
  00200 execute "config attribute [ INACTIVE]N/#0000FF:#FFFFFF,font=SWISS:MEDIUM"


;Print Fields-
===Print Fields===


A debug dump facility has been added to BR. It produces a file named BR_CRASH_DUMP.DMP which is very useful for resolving GPFs and assertion failures. This is produced only when using BRdebug.exe as opposed to BRnative.exe.
A debug dump facility has been added to BR. It produces a file named BR_CRASH_DUMP.DMP which is very useful for resolving GPFs and assertion failures. This is produced only when using BRdebug.exe as opposed to BRnative.exe.
Line 38: Line 38:
DIR reports true filename case.
DIR reports true filename case.


;HOT Controls
===HOT Controls===


All controls now appear active when hot (fkey value assigned).
All controls now appear active when hot (fkey value assigned).


;Protected Fields
===Protected Fields===


Protected fields using Windows colors are now displayed as [ inactive], not as background.
Protected fields using Windows colors are now displayed as [ inactive], not as background.


;2D SECTION COLORING
===2D SECTION COLORING===


  01500 PRINT FIELDS "nn,nn,GRID 10/40,ATTR": (mat start, mat end, mat attr$)
  01500 PRINT FIELDS "nn,nn,GRID 10/40,ATTR": (mat start, mat end, mat attr$)


Overrides the attributes of a range of cells/rows for a GRID/LIST display. This allows you to shade or otherwise alter the display of a range of cells / rows in a 2D control.
Overrides the attributes of a range of cells/rows for a [[GRID/LIST]] display. This allows you to shade or otherwise alter the display of a range of cells / rows in a 2D control.


AEX and P are now supported in HEADERS column attributes.  This applies this attribute to ALL cells in the column.
[[AEX]] and [[P]] are now supported in [[HEADERS]] column attributes.  This applies this attribute to ALL cells in the column.





Revision as of 15:28, 3 March 2014

A Graphic User Interface or GUI refers to the user interface and not what goes on behind the scenes.

GUI is commonly considered to include at least one or more of the following widgets:

  • proportional fonts
  • Grids
  • ComboBoxes
  • Dropdown Menus
  • Object Oriented Design
  • Mouse or Keyboard driven

External Links


GUI Mode ON Fkey values

When GUIMODE is on, Fkey values may be assigned to controls either by PRINT or INPUT statements. If they are assigned with PRINT statements, they need not be specified in corresponding INPUT statements in order to be active. However, in order to clear them an Fkey value of minus one (-1) must be specified in either a PRINT or INPUT statement for the control.

When GUIMODE is on, a single click on a hot text field that is part of an active INPUT FIELDS statement will not trigger an FKEY interrupt, but it will cause the cursor to move to that field. If it is double clicked, focus is moved to the control and then the specified Fkey interrupt is generated.

Labels and inactive text fields with Fkey values assigned will continue to trigger an Fkey interrupt when they are single or double clicked.

The appearance of PRINTed sunken fields has been improved.

Input Fields

To specify the color attributes of an inactive field you must set the attribute "[ INACTIVE]" i.e.

00200 execute "config attribute [ INACTIVE]N/#0000FF:#FFFFFF,font=SWISS:MEDIUM"

Print Fields

A debug dump facility has been added to BR. It produces a file named BR_CRASH_DUMP.DMP which is very useful for resolving GPFs and assertion failures. This is produced only when using BRdebug.exe as opposed to BRnative.exe.

TABs do not switch in response to PRINT FIELDS.

DIR reports true filename case.

HOT Controls

All controls now appear active when hot (fkey value assigned).

Protected Fields

Protected fields using Windows colors are now displayed as [ inactive], not as background.

2D SECTION COLORING

01500 PRINT FIELDS "nn,nn,GRID 10/40,ATTR": (mat start, mat end, mat attr$)

Overrides the attributes of a range of cells/rows for a GRID/LIST display. This allows you to shade or otherwise alter the display of a range of cells / rows in a 2D control.

AEX and P are now supported in HEADERS column attributes. This applies this attribute to ALL cells in the column.

Subcategories

This category has the following 2 subcategories, out of 2 total.

Pages in category "GUI"

The following 4 pages are in this category, out of 4 total.