Unwanted onRecordSelection

Discuss all problems you have with Servoy here. It might help to mention the Servoy version and Operating System version you are using

Unwanted onRecordSelection

Postby maria.kyselova » Thu Jul 24, 2014 8:47 am

Hi, just wondering if application.setValueListItems(), called from a global scope, is supposed to call onRecordSelection in the current window, because it does.
Cheers,
Maria
maria.kyselova
 
Posts: 172
Joined: Thu Aug 09, 2012 12:56 am

Re: Unwanted onRecordSelection

Postby maria.kyselova » Mon Jul 28, 2014 6:41 am

Could someone, please, explain why setting valuelist items calls onRecordSelection?
I need to know how to avoid it or, if it's a Servoy bug, it needs to be fixed.
Cheers,
Maria
maria.kyselova
 
Posts: 172
Joined: Thu Aug 09, 2012 12:56 am

Re: Unwanted onRecordSelection

Postby mboegem » Mon Jul 28, 2014 9:59 am

Never seen this behaviour.
As no one else responded to this thread, there's probably no issue.

Is it possible to reveal more of the code you're running around this 'setValueListItems'?
Also which version of Servoy are you on?
Marc Boegem
Solutiative / JBS Group, Partner
Servoy Specialist
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image
User avatar
mboegem
 
Posts: 1752
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: Unwanted onRecordSelection

Postby jcompagner » Mon Jul 28, 2014 5:44 pm

it should not really result in a onrecordselection, but i guess some refresh happens because you change a valuelist that is used on that form?

If you have a sample solution demonstrating this (in the latest servoy version) please make a case.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Unwanted onRecordSelection

Postby maria.kyselova » Wed Jul 30, 2014 1:23 am

jcompagner wrote:it should not really result in a onrecordselection, but i guess some refresh happens because you change a valuelist that is used on that form?

If you have a sample solution demonstrating this (in the latest servoy version) please make a case.


Can't reproduce it in a sample :(
Cheers,
Maria
maria.kyselova
 
Posts: 172
Joined: Thu Aug 09, 2012 12:56 am


Return to Discuss possible Issues and Bugs

Who is online

Users browsing this forum: No registered users and 17 guests

cron