L
Laurence Reeves
Wall, up, driven I have been.
I runtime "Controls.Add" eighteen of my custom controls (two varieties).
A seemingly random (but consistent) eleven of them instantly lose their
parentange.
I do virually anything, and the remaining magnificent seven of them drop
off the face of the form.
I don't think I'm doing anything particularly wierd. I've tried them
deriven from System.Windows.Forms.Control and ditto,UserControl (which I
don't want, 'cos I'm using Region to make irregular shaped controls).
My controls work fine at design time, and ones added then persist later
on. It's just the runtime added ones that fade into oblivion. They're
still present as objects - all they seem to have lost is their parentage.
I'm using #Develop, XP, if that makes the slightest difference.
I runtime "Controls.Add" eighteen of my custom controls (two varieties).
A seemingly random (but consistent) eleven of them instantly lose their
parentange.
I do virually anything, and the remaining magnificent seven of them drop
off the face of the form.
I don't think I'm doing anything particularly wierd. I've tried them
deriven from System.Windows.Forms.Control and ditto,UserControl (which I
don't want, 'cos I'm using Region to make irregular shaped controls).
My controls work fine at design time, and ones added then persist later
on. It's just the runtime added ones that fade into oblivion. They're
still present as objects - all they seem to have lost is their parentage.
I'm using #Develop, XP, if that makes the slightest difference.