Rick Posted December 28, 2009 Share Posted December 28, 2009 Is there any other way to get the grid object than from within InitDialog? If there is we could make more dynamic settings. Quote Link to comment Share on other sites More sharing options...
TylerH Posted December 29, 2009 Share Posted December 29, 2009 I thought InitDialog actually passed you the grid as a parameter? Quote nVidia 530M Intel Core i7 - 2.3Ghz 8GB DDR3 RAM Windows 7 Ultimate (64x)----- Visual Studio 2010 Ultimate Google Chrome Creative Suite 5 FL Studio 10 Office 15 ----- Expert Professional Expert BMX Programmer ----- Link to comment Share on other sites More sharing options...
Rick Posted December 29, 2009 Author Share Posted December 29, 2009 It does, but I guess I was wondering if you could get it outside of that function. Kind of like how in .NET the Paint event passes you the graphics objects, but if you wanted the graphics object outside of the paint event there is another way of getting it. I guess I could probably store off the grid as a class variable and set it from inside the InitDialog event. I'll give that a try. My thought process is to be able to modify the settings based on some objects placed in the scene. Quote Link to comment Share on other sites More sharing options...
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.