J. Miller Posted October 10, 2009 Share Posted October 10, 2009 I have a modern dialog that builds a group of check boxes based on information in the drawing. I arbitrarily started these check boxes at 601 and built from there. In VW2009 this worked flawlessly , but in 2010 it became broken. Poking around with the code i change the starting number to 201 for the check boxes. This edit fixed the problem. Are there new rules in VW2010 limiting the counts to a modern dialog, or is this just an oddity? Thanks in Advance Jeff Miller Quote Link to comment
MullinRJ Posted October 17, 2009 Share Posted October 17, 2009 Hi Jeff, ???There is a limit to ID numbers in Modern Dialogs, but I don't know where it's documented, if at all. I think it was posted once, but it's an arbitrary value, and if I recall correctly the value was 400, 3-400 to be more precise, where 1 & 2 are reserved for the OK and Cancel button ID #'s. Other values are used internally by NNA. ???You can test for the limit pretty easily with a dummy dialog and increase the number of an item until it fails. I don't know if the limit value changes between versions so test that, too. If you're feeling really generous, you can post your results here. ;-) Raymond Quote Link to comment
J. Miller Posted October 17, 2009 Author Share Posted October 17, 2009 Thanks for the reply Raymond. The next time i have a few hours to kill I will experiment with that. I do know that ID numbers can't be higher than 600 in VW2010 as opposed to VW2009. I guess it was changed in VW2010. Jeff Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.