The idea behind MASKFAILED_CB is an opportunity to tell the user that
what's being typed is not allowed. Usually in a label in the same dialog or
using the TIP attribute of the IupText being edited.

  ACTION should be used to filter the input if a MASK was not able to be
specified.

Best,
Scuri
Em 17/09/2015 08:28, "Ranier VF" <[email protected]> escreveu:

> Ok, I get it.
> But, it would be better, call ACTION first?
> And have a chance to change/update VALUE before call MASKFAIL_CB?
>
> Best,
>
> Ranier Vilela
>
>
> ------------------------------
> Date: Wed, 16 Sep 2015 21:26:03 -0300
> From: [email protected]
> To: [email protected]
> Subject: Re: [Iup-users] IupText with MASK attribute
>
>   Yes, it is. Because MASK is evaluated before ACTION.
>
> Best,
> Scuri
>
>
> On Wed, Sep 16, 2015 at 5:27 PM, Ranier VF <[email protected]> wrote:
>
> IupText with MASK attribute.
>
> MASKFAIL_CB is called before ACTION, why?
> This behavior is expected?
>
> Better be if ACTION were called first, or not?
>
> Best,
>
> Ranier Vilela
>
>
> ------------------------------------------------------------------------------
> Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
> Get real-time metrics from all of your servers, apps and tools
> in one place.
> SourceForge users - Click here to start your Free Trial of Datadog now!
> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
> _______________________________________________
> Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
>
> ------------------------------------------------------------------------------
> Monitor Your Dynamic Infrastructure at Any Scale With Datadog! Get
> real-time metrics from all of your servers, apps and tools in one place.
> SourceForge users - Click here to start your Free Trial of Datadog now!
> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
> _______________________________________________ Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
> ------------------------------------------------------------------------------
> Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
> Get real-time metrics from all of your servers, apps and tools
> in one place.
> SourceForge users - Click here to start your Free Trial of Datadog now!
> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
> _______________________________________________
> Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to