Main form doesn't invoke OnCreate message before other messages (eg. OnPaint)

Issue #140 resolved
Dave Lane
created an issue

For the past couple of days I've been trying to port a rather large VCL application (70,000 code lines) to Cross VCL (trial edition) using Delphi 10.2.2 and have hit a road major block. The target is OSX.

The symptom that I am seeing is that when the main form is created, the OnCreate message is not getting called first. The first message I am seeing is an OnPaint message (which crashes because various things are not already setup in OnCreate). The same application source code with target to Win32 calls the OnCreate message first, which is the usual behaviour.

Comments (1)

  1. Log in to comment