IUpDownEx


Describes minimum required functionality from UpDownEx control.

You can find more information in comments below. Overrided methods can be found in corresponding base interface.

class IUpDownEx :public virtual IControl
{
public:
    void(*OnChange)(IUpDownEx *sender); // Event called when value changed by user 

    virtual float getMin() = 0; // Return minimum allowed value 
    virtual float getMax() = 0; // Return maximum allowed value 
    virtual float getValue() = 0; // Return current value 
    virtual float getStep() = 0; // Return step value 
    virtual IEdit *getAssignedTo() = 0; // Return assigned edit control 

    virtual bool setMin(const float value) = 0; // Set minimum allowed value 
    virtual bool setMax(const float value) = 0; // Set maximum allowed value 
    virtual bool setValue(const float value) = 0; // Set current value 
    virtual bool setStep(const float value) = 0; // Set step value. Should be greater than zero 
    virtual bool setAssignedTo(IEdit *value) = 0; // Assign to edit control 

    virtual bool Up() = 0; // Increase value by step 
    virtual bool Down() = 0; // Decrease value by step 
};
Namespace: nitisa::standard
Include: Standard/Controls/IUpDownEx.h