Article View: borland.public.delphi.opentoolsapi
Article #142Re: Problem with registering dockable form in desktop
From: Christian Wilkerson
Date: Fri, 07 Mar 2008 00:27
Date: Fri, 07 Mar 2008 00:27
46 lines
2790 bytes
2790 bytes
>>>A long time ago Gerrit Beuze posted the following message, but no one >>>ever >>> replied. Well, I have the exact same issue, except with D2006. So I'm >>> wondering how this turned out or what the work around is. >> >> Situation is still the same. No real work arounds. >> Work around = make sure you have your form visible in *all* desktop files >> including project desktops. Even if it is just hidden in a tab somewhere. >> You might need to delete (temp rename?) exsiting ide + project desktops >> and restart from scratch. >> >> Gerrit Beuze >> ModelMaker Tools >> > > > Thanks for getting back so quickly. > > Sorry to hear there's no real fix. It did occur to me, however, to erase > the desktop files and start over with those. My only fear is that if/when > I distribute this, what do I tell my users? Do I also run some code that > alters all of their desktop files? > > Again, thanks for the help. Also, keep up the good work on ModelMaker. > I'm not sure what I'd do without it. > Well, I think I've figured it out. Once I removed FormCreate and FormDestroy events everything seems to work fine. When I say removed, I mean completely commented or deleted from the source. I'm reasonably confident that this is the case because when I re-inserted them, the problems came back. I was also surprised that just having them there (not hooked up to the dfm), caused issues. Perhaps somebody with more knowledge can shed light on this. Anyhow, I'm very happy to have this figured out, and Gerrit, thanks again for your help. -- Christian Wilkerson Home made country music @ http://www.myspace.com/christianwilkersonmusic And now with Blog!
Technical Details
Message-ID:
<47d08bf7$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<47cf7a0f$1@newsgroups.borland.com> <47cf9449@newsgroups.borland.com> <47d00dde@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10c3df,1c90955567dd9eab X-Google-Attributes: gid10c3df,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Christian Wilkerson" <cpwilkerson@no.spamming.charter.net> Newsgroups: borland.public.delphi.opentoolsapi References: <47cf7a0f$1@newsgroups.borland.com> <47cf9449@newsgroups.borland.com> <47d00dde@newsgroups.borland.com> Subject: Re: Problem with registering dockable form in desktop Date: Thu, 6 Mar 2008 16:27:41 -0800 Lines: 48 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 66.215.186.88 Message-ID: <47d08bf7$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1204849655 66.215.186.88 (6 Mar 2008 16:27:35 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail X-Original-Bytes: 2643