MX-Frame Library Send comments on this topic.
RefreshButton
See Also
MX-Developer > User Interface - MxPart > Controls > Control Properties > Design > RefreshButton

Glossary Item Box

Defines the appearance of the refresh button in the control.

Remarks

Property specifies the state of the button, used for reloading data, in a control. It depends on the state of the button what kind of actions will user be able to execute.

To learn more about button states see chapter Navigation Button States.

When refresh button is clicked the data in the control is reloaded. The select statement with provided parameters in the data source is executed. Reloaded data is displayed in the control therefore satisfying the consistency of the data. Refresh button can be clicked anytime by any user if it is enabled. If the button is disabled or hidden than data must be reloaded in some other way.

Example (MxSpace)

To see the defined RefreshButton property on a control (AdvancedText) open MxSpace solution project in Visual Studio. In Solution Explorer expand node Parts and double click StockPart.cs. Click the advanced text control displaying last names and open Property Window. See the value Default defined in RefreshButton property.

To define RefreshButton property

  1. In Solution Explorer open MxPart component (StockPart) which contains control (AdvancedText) for data binding.
  2. Select the desired control (AdvancedText – Last Name) on the canvas.
  3. Open Property Window.
  4. In section Design in RefreshButton property select the desired value (Default).

See Also

©2009 Metronik. All Rights Reserved.