Article # 396, added by Geoworks, historical record
| first |
previous |
index |
next |
last |
Linking GenItemGroups using ATTR_GEN_ITEM_GROUP_LINK.
Q. Are linked GenItemGroups currently supported? I tried without success to use this feature. The documentation states that a selection is exclusive across all the linked groups, but that's no how it worked for me. A. Linked Gen Item groups are supported (use ATTR_GEN_ITEM_GROUP_LINK), but you have to do most of the work yourself. To get them to work, have each linked GenItemGroup send out the same status message (ATTR_GEN_ITEM_GROUP_STATUS_MESSAGE). In the handler for this message, find out what item has been selected and broadcast that selection (with MSG_GEN_ITEM_GROUP_SET_SINGLE_SELECTION) to each item group. Since each Item in all the Item Groups should have a unique identifier, only one item will be selected.