Uiinfrastructure API Docs  
 

PTDurationCombo.GetDurationCombo Method 

This returns an HTML INPUT box followed by a combo box populated with time increments.

public static HTMLElement GetDurationCombo(
   string strDurationElemName,
   string strUnitsElemName,
   int intDisplayFlags,
   string strSetDuration,
   int intSetUnits,
   AActivitySpace asOwner
);

Parameters

strDurationElemName
- The name for the HTML INPUT box containing the numeric duration
strUnitsElemName
- The name for the SELECT drop down containing the units
intDisplayFlags
- An integer indicating which durations to display in the select. The choices are exposed by this class as public constants: DISPLAYMINUTES = 1, DISPLAYHOURS = 2, DISPLAYDAYS = 4, DISPLAYWEEKS = 8. These can be combined by adding up the choices. Thus, a value of 3 would display minutes and hours.
strSetDuration
- Sets the value for the duration input
intSetUnits
- Sets the integer value for the Units Select element
asOwner

Return Value

See Also

PTDurationCombo Class | com.plumtree.xpshared.htmlconstructs Namespace