Stack doesn't come to front upon first go to card
Posted: Thu Jan 26, 2017 8:37 pm
Hello.
I have two substacks. One contains a datagrid with a list of customers. The other contains the fields required to edit a customer.
The datagrid has a custom column behavior with a mouseDoubleUp handler for selecting a row. The last thing in that handler is
If the add/edit stack is not open as with
double-clicking a row opens the stack but does not make it the active window. The customer list remains the active window.
Actually, the add/edit window appears to be the active window for a fraction of a second and the list window becomes active again.
Once the add/edit window is visible, double-clicking a row in the customers list makes the add/edit window the active window as expected.
Everything that I have been able to find states that the go command makes the target card's stack the active window.
I must be doing something wrong here, somewhere. Hopefully someone out there has run into this before and can point me in the right direction.
TIA,
Dave
I have two substacks. One contains a datagrid with a list of customers. The other contains the fields required to edit a customer.
The datagrid has a custom column behavior with a mouseDoubleUp handler for selecting a row. The last thing in that handler is
Code: Select all
go to card "addEdit" of stack "customerAddEdit"
Code: Select all
close card "addEdit" of stack "customerAddEdit"
Actually, the add/edit window appears to be the active window for a fraction of a second and the list window becomes active again.
Once the add/edit window is visible, double-clicking a row in the customers list makes the add/edit window the active window as expected.
Everything that I have been able to find states that the go command makes the target card's stack the active window.
I must be doing something wrong here, somewhere. Hopefully someone out there has run into this before and can point me in the right direction.
TIA,
Dave