>I created objects dynamically and before releasing the form I want to delete those objects.
>
>I thought the following would work but it didn't
>
>
>FOR nI = 1 TO thisform.nTotOnScreen
> cNameObjet = 'cmdIdPersonn' + RIGHT( '000' + ALLTRIM( STR( nI)),4)
> cObjet = 'thisform.' + cNameObjet
> &cObjet = .null.
> RELEASE &cObjet
>ENDFOR
>
>
>How should I proceed?
Here is the essence of the code I use:
with thisform
for each loO in .objects
.removeobject( m.loO.name )
next
endwith
Groet,
Peter de Valença
Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.