Sylvio, the sample works with Dialogs , for Windows it works different( Background-painting ). Do You need Buttontext ? I think it will be 2 arrays like Ball[i].bmp and Prompt[i] ( i = Recno()-info ) If yes, where do You want to place it ( Top, Left, Bottom, Right or Center ...