Session 3

Basic component overview: Page component (tabs), checkboxes, radio buttons, group boxes, radio groups, spin edit (up/down), sliders

Session #3

During this session we looked at some of the basic UI components and how/when to use them. The amount of code was trivial, mainly because we aren't doing anything with the user's choices yet. Download the .exe.
Basic components (TCheckBox, TRadioButton, TGroupBox)Sliders (TTrackBar) and spin edits (TUpDown)

Exercises

  1. Add shortcuts (hotkeys) to the "Sliders/spin edits" page. Note that hot keys don't work across pages (tabs) so you can re-use shortcut keys.
  2. Display the current color in RGB format (e.g. FFA055) in the colored panel. (Hint: use the Format function. It's like printf).
  3. Implement the behavior in the More tab. (Run the executable and you'll see a third tab.)