I am in the process of converting an existing program (windows VCL based) to FireMonkey to enable the program to be available on both PC and Mac Platforms. I am converting a call piece at a time and testing it on both a PC and Mac platform. The first piece consist of just four forms and a data module. It compiles and runs fine on a PC. However, if when I create a second form in the MacOS version, the program dies with a 'NSGeneric Exception' reason NSGenericException', reason: '-[NSAlert runModal] may not be invoked inside of transaction commit (usually this means it was invoked inside of a view's -drawRect: method.). If I don't create the additional forms (just the main form and the data module) no error occurs, Any ideas what I'm missing? Any pointers would be welcome. Regards Gregg
↧