This shows you the differences between two versions of the page.
koda:en:documentation:substitute_control [2014/07/10 10:48] (current)
|Line 1:||Line 1:|
|+||====== Substitute controls ======|
|+||Five controls in Koda realization are substitute controls - [[control_Menu]], [[control_ContextMenu]], [[control_TrayMenu]], [[control_Dummy]] and [[control_ImageList]]. |
|+||Because, for example, a menu is not actually a control, Koda places a small square control onto form. Selecting this control enable you to change menu's properties, many of which defines menu structure. This “empty control” itself will not be visible on the result form, only the resulting menu.|
|+||Having those controls as separate "pseudocontrol" have some advantages: you can have two or more menus on one form, but only one "attached" to main form will be generated; you can attach context menu to one or other control etc.|