Delphi – Focus not moved to inputbox() and box remains behind of apps (Vista)

delphi

How can I make my delphi systray app using standard vcl inputbox() function to request focus, now dialog box seem to remain in taskbar and dialog does not open to front of other apps. This is Vista issue I think. Creating own form would solve it I believe.

ps: I can edit dialogs.pas if needed, it seem to be using Tcustomforms.showmodal

Best Solution

You are probably using older version of delphi.

Some Vista specific workarounds for older delphi versions can be fond here.