Hello Gary and Alan

> 1. Are your machines imaged by your IT dept at Massey? (eg 
> they could have loaded stuff over your configuration)

I usually manage to bypass the imaging :-). Delphi was installed from
our distribution CD however I've installed other components that I'd
created and they worked fine.
This one I added to an existing package that had a component on a
different palette tab (not "Samples"). I've since deleted the other one
so now the TMyMemo is the only component.
 
> 2. Right click on the Palette and view the Properties. Select 
> ALL atthe bottom of the Pages list, and then click on the 
> Name header of the Component list, whihc will give you an 
> alphabetical view of all installed components. Then check 
> whether your component is there ..... and under which page.

In the [All] component list, TMyMemo shows up on the Samples page, but
on the palette, there's no Icon. Just a thought - do I have to add an
Icon, or will it inherit from Tmemo? I'll try this ...
> 
> 3. You can also take a look in the registry to see if your 
> package (.dpk) is referenced there.

Yep it's there

> Otherwise try uninstalling the Package in the Install 
> Packages menu under Components, and re-installing it.

Done that - including deleting the .BPL files ...

> I would first check in installed packages that the package you
installed
> into is still ticked.

It is ticked and the component appears inside it.

> Packages can become unticked if there has been a conflict. 

Conflict - how ?

Thanks
Giovanni

> 
>  | To  : [EMAIL PROTECTED]
>  | CC  : 
>  | From: Moretti, Giovanni, [EMAIL PROTECTED]
>  | Content Type: text/plain
>  | Attached: 
>  | 
>  | Hi
>  | I've just created a simple extension to TMemo, to provide 
> a GETNextLine
>  | (to hide the numeric indicies) as a demo of the OO way of 
> doing things.
>  | It's trivial, compiles OK, installs OK, shows up the 
> COMPONENT/Configure
>  | Palette list, in the COMPONENT/INSTALL Packages it shows up as a
>  | component in the package - BUT NOT IN THE PALETTE !!! 
> That' not quite
>  | true - it has appeared and then vanished again :-( 
>  | 
>  | Everything is exactly as it should be, but the installed component
>  | doesn't show up on the SAMPLES palette. It's doing 
> everything except
>  | being visible so I can't drag'n'drop it.
>  | 
>  | Any thoughts as to why? I get the horrible feeling it's 
> something silly
>  | - Code is appended below.  I'm using Delphi 7 Enterprise.
>  | 
>  | Thanks 
>  | Giovanni
>  | 
> ==============================================================
> ==========
>  |  Giovanni Moretti  |  Institute of Information Sciences 
> and Technology
>  |  Senior Lecturer   |  Massey University, Palmerston North, 
> New Zealand
>  |  Computer Science  |  Ph 64-6-3505799x2474 == Fax 
> 64-6-3502259 == ZL2BOI
>  | 
>  | 
> --------------------------------------------------------------
> ----------
>  |  http://www-ist.massey.ac.nz/moretti      
> mailto:[EMAIL PROTECTED]
>  | 
>  | 
>  | unit QMyMemo;  // Extend TMemo to add a Line Iterator by
>  | [EMAIL PROTECTED]
>  | 
>  | INTERFACE
>  | 
>  | uses SysUtils, Classes, QControls, QStdCtrls;
>  | 
>  | type
>  |   TMyMemo = class(TMemo)
>  |   private
>  |     NextLine : integer;                 // The line cursor 
> that will be
>  | returned
>  |   public
>  |     procedure StartScan;                  // Reset Iteration Cursor
>  |     function  AnyMoreLines : boolean;     // Will 
> GetNextLine succeed?
>  |     function  GetNextLine  : string;      // There are 
> more lines, get
>  | next one
>  |   end;
>  | 
>  | procedure Register;
>  | 
>  | IMPLEMENTATION
>  | 
>  | procedure TMyMemo.StartScan;             // Reset Iteration Cursor
>  | begin
>  |   nextLine:= 0;
>  | end;
>  | 
>  | function TMyMemo.AnyMoreLines : Boolean; // Will 
> GetNextLine succeed?
>  | begin
>  |   result:= (NextLine < Lines.Count);
>  | end;
>  | 
>  | function TMyMemo.GetNextLine : string;   // There are more 
> lines, get
>  | next one
>  | var line: string;
>  | begin
>  |   line:= lines[nextLine];
>  |   inc(nextline);
>  |   result:= line;
>  | end;
>  | 
>  | procedure Register;
>  | begin
>  |   RegisterComponents('Samples', [TMyMemo]);
>  | end;
>  | 
>  | end.
>  | 
>  | _______________________________________________
>  | Delphi mailing list
>  | [EMAIL PROTECTED]
>  | http://ns3.123.co.nz/mailman/listinfo/delphi
>  | 
> 
> 
> 
> ========================================================
> Gary Benner  -  e-Engineer and Software Developer  -  [EMAIL PROTECTED]
>                                    123 Internet Ltd
> Lecturer in Information Technology    -   Waiariki Institute 
> of Technology
> 
> 
> 
> 

_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to