In my project I have to display strings as well as buttons with lables. The number & content of text strings, buttons and their positions in the window can only be determined at run time. It is, of course, necessary to be able to detect which button has been pressed by the user. I am most grateful if someone could give me some hints on how to go about doing it.


Thanks