🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.opentoolsapi
Article #71

Re: Expert is not visible

#71
From: AlexB
Date: Mon, 16 Jun 2008 03:50
21 lines
1350 bytes
OK, fixed.

The example has Register procedure:

procedure Register;
begin
  RegisterPackageWizard(TDockFormExpert.Create as IOTAMenuWizard);
  TExampleDockableForm.CreateExampleDockForm;
end;

(In fact I saw a lot of examples with the similar code)

I saw no problem in debugger (no exceptions, strange values etc) but my
expert was invisible (+ some other oddities).

I've removed the form creation from the Register procedure. Form
constructor now works after the first click on my IDE menu item and all
goes OK.

-- 
Alex
Technical Details
Message-ID: <4855e2fa$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!feeder.erje.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <48462d6c@newsgroups.borland.com> <484c718b$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10c3df,63c10f42433cd03e
X-Google-Attributes: gid10c3df,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "AlexB" <b.a.v@inbox.ru>
Subject: Re: Expert is not visible
Newsgroups: borland.public.delphi.opentoolsapi
References: <48462d6c@newsgroups.borland.com> <484c718b$1@newsgroups.borland.com>
User-Agent: XanaNews/1.18.1.6
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1251
NNTP-Posting-Host: 212.192.185.54
Message-ID: <4855e2fa$1@newsgroups.borland.com>
Date: 15 Jun 2008 20:50:18 -0700
X-Trace: newsgroups.borland.com 1213588218 212.192.185.54 (15 Jun 2008 20:50:18 -0700)
Lines: 21
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!feeder.erje.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail