Split Area

splitarea

Compiling

To compile the example:

  • Launch EiffelStudio.
  • Click Add project
  • Browse to $ISE_EIFFEL\examples\wel\splitarea\.
  • Choose split_area.ecf
  • Choose the location where the project will be compiled, by default the same directory containing the configuration file.
  • Click OK.

Running

After launching the program, a window will be displayed containing a pair of WEL_RICH_EDIT in a split area. Clicking the mouse on the split area (between the two rich edits) and dragging the mouse, will adjust the split area and its content accordingly.

Under the Hood

There is no split area class provided with WEL, but WEL_SPLIT_AREA was created for this sample to illustrate how new controls can be built when required. Redefining some of the on_ features inherited from WEL_WINDOW in WEL_SPLIT_AREA shows how the control over the contents of the split area is achieved.

This sample contains the following classes:

  • APPLICATION
  • SPLIT_AREA_DEMO
  • WEL_SPLIT_AREA

See Also:
WEL_RICH_EDIT

cached: 03/19/2024 7:40:36.000 AM