Thanks for the help. But this is not what I had in mind. I realise that my question was not complete. I want to place the text for the buttons in a separate file.So each button with ID=1 has the text OK, each button with ID=2 the text wrong.somthing like this.