Welcome, Guest
Username: Password: Remember me
General discussions, feature requests for CodeTyphon Project and discussions that don't fit in any of the other specific CodeTyphon forum categories.
  • Page:
  • 1

TOPIC:

OnAfterShow 9 years 4 months ago #7674

  • atlandev.ct
  • atlandev.ct's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 50
  • Thank you received: 0
Hello all,
I don't know if is there a possible in CT to change some pascal behavior.
But I often used this sort of code in my old time with Delphi
FormOnShow
begin
PostMessage(Self.Handle, WM_AFTER_SHOW, 0, 0);
end;
WM_AFTER_SHOW defines like that: WM_AFTER_SHOW = WM_USER + $FF;
It's very usefull when you want to launch some automatic function or else but to be sure that your form is already shown.
So my question is can you add OnAfterShow like OnShow on form ?
Thanks.

Please Log in or Create an account to join the conversation.

Last edit: by atlandev.ct.

OnAfterShow 9 years 4 months ago #7675

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Thanks Sir
First: we don't have any problem to make changes to LCL or to FreePascal
both at upcoming CT ver 5.4 are heavy modified

Second: the problem is, Delphi it's a Windows only IDE and CT it's a MultiOS-MultiPlatform IDE,
add MS Windows functionality to CT don't work on No-Windows Platforms in most of cases.

so, sorry but we can't
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

OnAfterShow 9 years 4 months ago #7676

  • atlandev.ct
  • atlandev.ct's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 50
  • Thank you received: 0
That seem understandable :dry:
Thanks for the answer.
Do you have any idea how can I simulate this behavior with CT.
Do you think a delay in a thread perhaps ?
[SOLVE] a simple timer after all :silly:

Please Log in or Create an account to join the conversation.

Last edit: by atlandev.ct.
  • Page:
  • 1