User Tools

Site Tools


koda:en:documentation:attach_controls

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

koda:en:documentation:attach_controls [2014/07/10 10:47] (current)
Line 1: Line 1:
 +====== Attaching controls ======
 +
 +Some controls need to be //attached// to the another in order to work, that is: to generate code. For example, many controls can have a context menu. But ContextMenu is a substitute control, so it appears on the form but does nothing until it is attached. To let Koda know that this control should use a particular context menu, select this control from the ContextMenu property. In the drop-down list you see only controls that can be attached via this property. 
 +
 +There is one control that is __not__ a substitute control but does nothing until it is attached: a spinner is created by attaching an the UpDown control to an InputBox control.
 +
 +Generally, if you choose a control that is already attached to another control, it is detached from the old control and attached to the new control.
 +
 +Usually a control can be attached only to one control. The only exception is the ImageList control: an ImageList can be simultaneously attached to multiple controls.
 +
  
koda/en/documentation/attach_controls.txt ยท Last modified: 2014/07/10 10:47 (external edit)