Ed Leafe wrote:
> On Aug 18, 2009, at 4:06 PM, Nate Lowrie wrote:
> 
>>> The question is: are you getting bitten by a quirk of dTreeView, or  
>>> by
>>> calling biz.moveToPK() directly, the biz being unaware that there are
>>> pending changes yet.
>> Not sure.  I'll see about doing some more testing this weekend one to
>> see.  Am I not supposed to call biz.moveToPK() directly?
> 
> 
>       You can call it directly; the issue is simply that the events are not  
> firing in the order you need. For situations like this, a call to the  
> form's activeControlValid() is the preferred approach.

Ed, what's your opinion of adding dForm.moveToPK(), and having that 
function call activeControlValid()?

Not that I'm against users calling activeControlValid() explicitly, but 
moveToPK() seems to me to be one of the places where it would likely be 
the desired behavior, and it would be consistent with the other 
navigation functions in dForm.

Paul


_______________________________________________
Post Messages to: Dabo-users@leafe.com
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/4a8b0cf7.40...@ulmcnett.com

Reply via email to