On Jan 1, 2011, at 9:27 AM, bluewin wrote:

> I use Windows 7 and have installed dabo on drive d:. My small example is
> stored on drive e:. All files including the SQLite Data-File tutorial.sqlite
> are stored in the same directory e:\14\09_dabo_fw\grid. When I run
> grid_form.py I can move from record to record with the up and down
> arrow-keys. I can see how the current-record (yellow background) moves up
> and down. When I use the button prior and next it doesn't work. In the onHit
> event-handlers I wrote self.form.prior() and self.form.next().
> 
> Questions:
> 
> 1)      Why must I enter the whole path e:\14\09_dabo_fw\tutorial.sqlite and
> not only tutorial.sqlite in the connection-file con_grid.cnxml?

        Because the standard directory layout in Dabo has the 'db' directory 
off of the main file location, making relative pathing very problematic. 

> 2)      Why do the two buttons not work the same way as the arrow-keys?

        Capitalization. Python is case-sensitive, and the reference to the form 
is 'self.Form', not 'self.form'. Try correcting that and let me know if it 
works.

> As an attachment I send a zip-file including the grid-directory with all
> files. 

        As you've certainly noticed, attachments are stripped from the mail 
list. No need to send the file to hundreds of people who don't need it! In the 
future, you can post code snippets here or on dabo.codepad.org. If you have a 
particularly tough problem, Paul or I may ask you to send a zip file directly 
to us to debug.



-- Ed Leafe



_______________________________________________
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