Jump to content


Photo

NxPageControl6


  • Please log in to reply
3 replies to this topic

#1 yoghurt

yoghurt
  • Members
  • 2 posts

Posted 29 March 2017 - 10:39 AM

When changing pages, how can I decide if my circumstances to switch the page are correct. I want to bring an error message and not switch to the selected page afterwards. Something like a "CanChange"-Event.

 

Is this possible?



#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 29 March 2017 - 11:50 PM

Hi,

Not at the moment, but it will be easy to add it. Since there is OnActiveChange event, maybe I can add OnActiveChangeQuery event with var Accept parameter.
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#3 yoghurt

yoghurt
  • Members
  • 2 posts

Posted 30 March 2017 - 01:14 PM

Are there any plans to add this event in the near future?



#4 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 30 March 2017 - 07:27 PM

Hi,

Yes, it will be uploaded in next build. Look for OnActiveChangeQuery event.
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users