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.

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.

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.

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

 


_______________________________________________
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]

Reply via email to