grouped datagrid keeps crashing
Posted: Wed Aug 20, 2014 1:41 pm
I've been creating a simple login system for an app and I got it to works perfectly ... in a stack all by itself. the login uses one datagrid to hold a list of current player names. It also allows name changes, and profile deletes. The player profile data is saved to flat txt files. It uses one datagrid to display the player names. And like I said I put it through its paces, as a separate stack and it works fine.
The problem arises when I try to copy or replicate the stack into the app.
first I tried just copying and pasting the objects which essentially are: 3 grouped objects containing a few buttons and fields, and one group that contains a datagrid and some buttons for navigation. I opened both stacks, i.e. the main app stack and the login sandbox test stack and copied the login objects over to the main stack and adjusted some code for its new home but then the main stack keeps crashing when, for example I try to change the color of a group or button or I try to show or hide a group.
At this point I will probably just rebuild the whole thing from the ground up in the main app and give up on the cutting and pasting of objects from one stack to another. However,
Question:
1) Is it possible cut and paste a datagrid which is inside a separate group from stack to stack? is that what is causing the problems?
2) I see this build cycle happening more and more , i.e. build a component in a separate stack and then integrating it into the main stack, but I am having so many problems copying and pasting multiple grouped objects containing datagrids from one stack to the next.
Any suggestions? I can give more details but I was hoping that maybe someone would notice an obvious error on my design cycle and I can change that first.
bob
The problem arises when I try to copy or replicate the stack into the app.
first I tried just copying and pasting the objects which essentially are: 3 grouped objects containing a few buttons and fields, and one group that contains a datagrid and some buttons for navigation. I opened both stacks, i.e. the main app stack and the login sandbox test stack and copied the login objects over to the main stack and adjusted some code for its new home but then the main stack keeps crashing when, for example I try to change the color of a group or button or I try to show or hide a group.
At this point I will probably just rebuild the whole thing from the ground up in the main app and give up on the cutting and pasting of objects from one stack to another. However,
Question:
1) Is it possible cut and paste a datagrid which is inside a separate group from stack to stack? is that what is causing the problems?
2) I see this build cycle happening more and more , i.e. build a component in a separate stack and then integrating it into the main stack, but I am having so many problems copying and pasting multiple grouped objects containing datagrids from one stack to the next.
Any suggestions? I can give more details but I was hoping that maybe someone would notice an obvious error on my design cycle and I can change that first.
bob