Region :: regionId - Region id for sub region
The function returns the region identifier for a subregion When no subregion could be found, the function returns 0,
The region identifier is either the resource identity for the region definition (in case the region has been created from an external resource defined in a resource database) or the internal column identifier returned from the ControlContext::addRegion() function.
Implementation overview
- Get region id for sub region by name
Region :: regionId ( sName ) - Get region id for sub region at position
Region :: regionId ( iPosition )
Implementation details
-
Get region id for sub region by name
int64 Region  :: regionId ( odaba::String &sName )
The function returns the region identifier for the subregion with name passed in sName. When no subregion with nam sName exists, the function returns 0.
- sName
- Resource or entity name
The name refers to a design or GUI resource.
to list
- sName
- Resource or entity name
-
Get region id for sub region at position
int64 Region  :: regionId ( int32 iPosition )
The function returns the region identifier for the subregion at position passed in nPosition. When nPosition is invalid, the function returns 0.
- iPosition
- Position in collection
The position of an entry in a collection or list is the number of the entry in the collection beginning with 0 for the first entry.
to list
- iPosition
- Position in collection