John Fabiani wrote: > On Saturday, October 02, 2010 04:00:46 pm Jim Byrnes wrote: >> I've coded a test form to get some experience in hand coding in Dabo. It >> works but I cannot tab between textboxes. I've looked at and run one of >> the examples on the wiki it tabs so I must done/not done something >> correctly. I pasted the code at http://dabo.codepad.org/Qcb9ViAn >> >> I wonder is someone could look at it and tell me what I have missed. >> >> Thanks, Jim > > It is a standard practice to capitalize the beginning letter of a class name. > > So instead of mainForm it normally would be MainForm. Not required just a > standard.
Your right. I should be more consistent and follow the standard. > You are adding the panel to a sizer of the MainForm and then continue to add > more objects to the same sizer. IOW's only the first sizer would have the > panel. So you need to add the objects to the panel and then add the panel to > the form. OK, I see that now. I really appreciate the example code. Sometimes more generic examples are difficult for me to follow. Seeing my code written correctly was a great help. > I made some changes to the code - but it's untested - I don't have python > running on this computer (not mine). But you should get the idea. To run it all what was needed was a couple of references to Form that weren't needed in my version. > http://dabo.codepad.org/1vGo0TkB > > I moved several of the items around. Also this looks like a login form. You > might want to review the login form supplied in the Dabo code. > > Johnf > Based on the captions it looks like it is, but it really is just a bunch of stuff I cobbled together to learn handcodding and test out MaskedTextBoxs. Thanks again for the great examples. Regards, Jim _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
