On 4/7/11 7:22 AM, John Fabiani wrote:
> I have always had issues with dropdowns selection determining the a second
> control.  Now I have need to have fours dropdowns and each of the dropdowns
> data (or Choices) will depend on the preceding dropdown selection.  Does
> anyone have a suggestion on how best to deal with my requirement?

I suggest that 90% of the code you write belongs in the bizobj. Provide a 
method or 
methods in the bizobj to determine the choices for the 4 dropdowns based on the 
values of other fields. Provide a method or methods to return True or False 
whether 
or not the user is allowed to modify that field currently.

Hook into biz.afterSetFieldVal() to catch when the user picks a different row 
in the 
listbox.

The easiest way to let the UI know that it needs to update the display from the 
bizobj that I know of would be:

self.Application.ActiveForm.update()

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