Forms Lost after loadstate? |
Post Reply |
Author | ||
stuc
Groupie Joined: 05 May 2011 Status: Offline Points: 20 |
Post Options
Thanks(0)
Posted: 11 August 2011 at 11:17am |
|
I need a pointer in the right direction if I could. What would cause the panes to loose their forms? i.e. After a loadstate, the panes are correctly in their positions its just they are all devoid of their forms I used the samples for my template and cant for the life of me see why this would happen? - I cant get it to happen with the example code. Im searching line by line to see what differences I have made. A pointer in the general area would be nice |
||
stuc
Groupie Joined: 05 May 2011 Status: Offline Points: 20 |
Post Options
Thanks(0)
|
|
[SOLVED] my mistake thought Id post just in case others find the same. Incorrect Code
As you can see I was assigning the Pane handle (item.handle) only when the array was not populated. On a loadstate the panes must be being deleted and recreated as it looses the handle. Corrected code
|
||
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |