Issue with compiled minimized dialog

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
sarver311
Pro Scripter
Posts: 84
Joined: Tue Jun 17, 2008 6:37 pm

Issue with compiled minimized dialog

Post by sarver311 » Thu Oct 14, 2010 6:40 pm

Hey guys,

I don't know if maybe I'm missing a setting or something in my dialog but I've encountered a peculiar issue.

I'm using windows 7 ultimate x64 on MS 12.0.9

I created a dialog, configured it to be minimizable, compiled it into an application and it minimizes to the taskbar fine. The odd issue is that it's only one dialog but when I put my mouse over the taskbar icon for the app two preview windows show up, one that is titled macro scheduler and the other that lists my dialog name. Is this performing as intended or am I missing something in my setting.

This is the dialog I am using that should replicate what I"m describing if you compile it.

Code: Select all

Dialog>Dialog1
object Dialog1: TForm
  Left = 390
  Top = 116
  HelpContext = 5000
  Caption = 'CustomDialog'
  ClientHeight = 212
  ClientWidth = 431
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = True
  Position = poMainFormCenter
  ShowHint = True
  OnTaskBar = True
  PixelsPerInch = 96
  TextHeight = 13
end
EndDialog>Dialog1
show>dialog1,r
Thanks!
-Josh

User avatar
JRL
Automation Wizard
Posts: 3501
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post by JRL » Fri Oct 15, 2010 12:45 am

When you compiled did you check the "Run Hidden" compile option?

sarver311
Pro Scripter
Posts: 84
Joined: Tue Jun 17, 2008 6:37 pm

Post by sarver311 » Fri Oct 15, 2010 2:38 am

That did the trick, Thanks JRL!

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts