company logo

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,

Return value:  Region identification ( int64  )

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

Implementation details

  1. 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.

  2. to list
  3. 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.

  4. to list