Controls


Enumerations

enum  tBevelSidesTypes {
  Top = 1,
  Bottom = 2,
  Left = 4,
  Right = 8,
  All = 15
}
enum  tEditStyles {
  es_normal = 0,
  es_readonly = 1,
  es_password = 2,
  es_centered = 4
}
enum  tEditCursorCommand {
  mc_lineup = 0,
  mc_linedown = 1,
  mc_pageup = 2,
  mc_pagedown = 3,
  mc_home = 4,
  mc_end = 5
}


Compounds

     struct   cBevelCBevel object is an outlined empty rectangle
     struct   cBitmapUse this structure to place a simple picture on the screen
     struct   cBoxCBox is simply a filled rectangle
     struct   cButtonA basic button
     struct   cEditThis structure puts a standard edit control on the Cybiko computer's screen
     struct   cItemThis structure implements methods for working with simple units of the list, such as a text string
     struct   cListThis structure implements methods for working with a list and a menu
     struct   cProgressBarAdds a progress bar to your application
     struct   cSItemA cSItem object might have an icon on the left and/or additional text on the right
     struct   cTextStatic, transparent text line
     struct   cXByteA framed string with an icon on the left
     struct   cXItemThe same type of string as in the cItem structure
     struct   cXStrA cXStr object might have an icon on the left and/or additional text on the right


Detailed Description

This section groups standard controls found on many systems, such as cList (a list of selectable strings), cButton (a button with associated text and return value), cEdit (textual entry field), etc. These controls could be attached to the above described forms. Please note that cDialog is nothing else but a cCustomForm with several controls attached to it, according to the flags (its 'style') you pass to its constructor.


Enumeration Type Documentation

enum tBevelSidesTypes
 

The visible styles for creating a bevel's sides.

Enumeration values:
Top   the top side of a bevel.
Bottom   the bottom side of a bevel.
Left   the left side of a bevel.
Right   the right side of a bevel.
All   show all of the bevel's sides.

enum tEditCursorCommand
 

Commands for cursor positioning.

Enumeration values:
mc_lineup   move the cursor one line up.
mc_linedown   move the cursor one line down.
mc_pageup   move the cursor one page up.
mc_pagedown   move the cursor one page down.
mc_home   move the cursor to the beginning of the string.
mc_end   move the cursor to the end of the string.

enum tEditStyles
 

Edit box styles.

Enumeration values:
es_normal   show the text as entered.
es_readonly   show text as read-only; no editing allowed.
es_password   show all characters as '*' onscreen regardless of what characters are entered (however, in this mode the actual text is stored with correct characters, which may be accessed via password).
es_centered   center each line within the given rectangle.