I have a large application which works fine under MSwindows version. However when converted to Linux, the messagebox's used in the program (in 4 out 5 cases) don't show the text. Only when I resize them larger a few mm by pulling the bottom line down, the text and the buttons suddenly become visible. Even a simple messagebox instruction like below doesn't display properly:
Application.MessageBox('This is a text of the messagebox', 'Testbox', MB_ICONHAND);
The same thing sometimes happens with a dialog window. Grey till I pull the bottom line down.
If I build a small application, all messageboxes work but not in the larger application. An other Linux (Triquel & Zorin), version did not help.
Any idea how to fix this?
Later, the same happens using with "showmessage" Just a grey window. Resize for this type not possible so text stays fully hidden. Must be common cause???
Later, this only happens when the dialog is placed/called from an "ONPAINT"event of the main form.