A round about way is right :-) one last thing, the more experience developers get the more they move away from the IDE generating code for them and move to hand coding which gives you pretty much full control over how your app executes and less chance for bugs. Anyway sounds like you are doing okay now.