Use of UI control

@fabio, I have edited your posts above, but in future please ensure that whenever you post any code, you do so in the format that the forum expects, otherwise other forum users will no be able to assist you.

See this post;