buildingblocklink

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
buildingblocklink [2017/08/11 09:36]
aducomadmin [Properties]
buildingblocklink [2019/03/18 15:59]
aducomadmin [Properties]
Line 1: Line 1:
 ====== Buildingblock ====== ====== Buildingblock ======
  
-The building block component allows you to create master-detail forms. To set it up correctly you must apply the building block that will be used as the detail. Also you must provide the database connection the detail block needs to use, and setup a valid master-detail key relationship. In sequence:+The building block wrappes a block component. It can be used to apply headers, footers, partial functions (IFrame-like use) but also to implement a master-detail form. 
 + 
 +==== Use of building-block in a master-detail relationship. ==== 
 + 
 +To set it a master-detail relationship,  you must apply the building block that will be used as the detail. Also you must provide the database connection the detail block needs to use, and setup a valid master-detail key relationship. In sequence:
  
 - define the building block to be used\\ - define the building block to be used\\
Line 10: Line 14:
  
 With this information the read-only fields 'detail data source' and 'keyfields' of the master datasouce will be filled automatically. With this information the read-only fields 'detail data source' and 'keyfields' of the master datasouce will be filled automatically.
- 
  
 ===== Properties ===== ===== Properties =====
  
 ^Property  ^Description  ^Values  | ^Property  ^Description  ^Values  |
-|Align|Aligns component on the design form|alNone, alLeft, alTop, alFull| 
 |**BuildingBlock** |Specifies the pre defined detail building block to be inserted (detail)|Existing building block| |**BuildingBlock** |Specifies the pre defined detail building block to be inserted (detail)|Existing building block|
-|**DetailConnection** |Specifies the connection to be used by the detail building block|Existing connection| 
 |**DetailDataSource** |The datasource to connect to from the master|Existing data source in detail building block| |**DetailDataSource** |The datasource to connect to from the master|Existing data source in detail building block|
-|Height|Height of the component on the design form|integer| 
 |**KeyFields** |Key field mapping between master and detail|Setup by using property editor| |**KeyFields** |Key field mapping between master and detail|Setup by using property editor|
-|Left|Left position of the component on the design form|integer| 
 |**MasterDataSource** |Reference to the master data source|Existing data source on the master form| |**MasterDataSource** |Reference to the master data source|Existing data source on the master form|
-|Name|Name of the component|string (change only if you have to..)| 
-|Owner|Owner of the component|read-only| 
-|Top|The upper position of the component on the design form|integer| 
-|Width|The width of the component on the design form.|integer| 
-|Height|The height of the component on the design form.|integer| 
  
 \\ \\
Line 34: Line 28:
 ===== Server Events ===== ===== Server Events =====
  
-^Property  ^Description  ^Values +No additional events.
-|OnCreate|Triggers when the component is created| | +
-|OnDestroy|Triggers when the component is destroyed|   |+
  
 ===== Client Events ===== ===== Client Events =====
  
-^Property  ^Description  ^Values +No additional events.
-|none| | |+
  
 \\ \\
  
  
  • buildingblocklink.txt
  • Last modified: 2020/02/04 18:29
  • (external edit)