On 7/21/10 4:49 PM, Bronwyn Woods wrote:
> 1. If I click on a row twice, form B opens twice.  If a form is already
> open, is it possible to just switch focus to that form instead of opening it
> again?  I've tried a few of the dForm properties that looked like they might
> be appropriate but have had no luck.

I think Ed gave you some good ideas on this one.

> 2. How to I tell form B to show the edit screen for the record selected in
> form A (instead of the default grid page)?

If you don't want the select and browse page on form B, just the edit page, you 
probably want to ditch the rest of the datanav ui for form B as well. I'd make 
a 
regular dForm (or dDialog if you want it modal). You can copy most of the code 
from 
PagEdit<FormName>.py into a new class that descends from dabo.ui.dForm.

In other words, just because part of your app is datanav (appwizard-based) 
doesn't 
mean your entire app needs to be.

If you do want the select and browse pages on form b, then it is likely that 
you want 
to keep the datanav UI and follow what Ed suggested instead.

Let us know if you need more than these hints to go on...

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