gerauchert
2013-05-25 23:48:16
I want the script to create a set of components after clicking a 'New Client' button, which it does the first time you click it (creates a 'Finished' button along with TEdits, TListBoxes).
When I hit 'Finished', the components are supposed to disappear, and they do the first time you try it. Afterwards, clicking 'New Client' to add another one results in a run-time error:
Script is getting long, and relies on reading INI files so I don't think it would help to post it, but I will if someone is willing to mess around with it for a while. Otherwise, I was hoping to get some ideas on how to accomplish this component.Visible state transitioning without getting run-time errors.
I have tried just freeing the components and then creating them again, but I also get errors with that method too.
When I hit 'Finished', the components are supposed to disappear, and they do the first time you try it. Afterwards, clicking 'New Client' to add another one results in a run-time error:
Program exception!
Stacktrace:
Exception class: EAccessViolation
Message: Access violation
$00669B93
$0066931F
$0054EE2F
$0054F356
$0054F8B1
$0054ED3A
$0040C37A
$004EBC0D
$00568BE7
$0050E94E
$0055B8A1
$775CFD72
$775CFE4A
$775D0943
$775D0B36
$7489B4BA
$7489B51C
Simba Version: 992
Script is getting long, and relies on reading INI files so I don't think it would help to post it, but I will if someone is willing to mess around with it for a while. Otherwise, I was hoping to get some ideas on how to accomplish this component.Visible state transitioning without getting run-time errors.
I have tried just freeing the components and then creating them again, but I also get errors with that method too.