Problem z komponentem CoolTrayIcon...

0

pobralam z http://www.torry.net/pages.php?id=245 komponent CoolTrayIcon ale nie idzie mi w ogóle instalacja... nie za bardzo wiem ktore pliki do czego maja isc... :(

prosze pomozcie mi...

0

ja wiem, że wtórny analfabetyzm postępuje itd ale bez przesady ...

How to install the components

  • YOU NEED TO INSTALL THE COMPONENTS BEFORE OPENING THE DEMOS IN DELPHI. ***

If you're running Delphi 5 or later:

  1. Open CoolTrayIcon_D5.dpk (Delphi 5) or CoolTrayIcon_D6plus.dpk (Delphi 6
    or later) either by doubleclicking the file or by selecting "Open Project"
    inside Delphi. (CoolTrayIcon_D5.dpk may work for older Delphi versions
    as well, but I don't know for sure. Please tell me if I'm right.)

  2. Click Compile, then Install.

  3. You may need to add the folder containing the components to your library path
    (select Tools -> Environment Options from the menu).

  4. That's it. The components should be visible in the component palette
    in a tab called "Tray Icons" (if older versions of the components were
    already installed they may be found in "Custom").

If you're running Delphi versions older than ver. 5:

  1. Try the steps above with the CoolTrayIcon_D5.dpk file (it may work in
    older versions of Delphi, but I don't know for sure. Please tell me).
    If this doesn't work then do the following:

  2. Select "Install Component" from the "Component" menu item (may vary
    depending on your Delphi version).

  3. A dialog displays where you must select the components to install and
    the package to install into. I recommend creating a new package, if you
    haven't already done so, rather than installing into the default package.

  4. Browse for the RegisterTrayIcons.pas file and select OK.

  5. You may need to add the folder containing the components to your library path
    (select Tools -> Environment Options from the menu).

  6. That's it. The components should be visible in the component palette
    in a tab called "Tray Icons" (if older versions of the components were
    already installed they may be found in "Custom").

If you're running C++ Builder:

The required steps are the same as in Delphi, so just follow the steps above.

Alternatively, use this approach:

  1. Select "New Component..." from the menu

  2. In "Ancestor type", select "TTrayIcon [trayicon]"

  3. In "Class Name", type "TCoolTrayIcon"

  4. In "Palette Page", type "Tray Icons" (or another tab you want to install to)

  5. In "Unit file name", select "RegisterTrayIcons.pas" (which is found in the
    CoolTrayIcon package). Also, include CoolTrayIcon.pas and TextTrayIcon.pas,
    or you might get an error regarding "IMGLIST.OBJ".

  6. Click on the "Install" button.

zadanie domowe dla ciebie - zgadnij skąd ten cytat

0

zrobilam tam jak pisze w instrukcji i to nie raz... i dalej nie posiadam w delphi tego komponentu... :( juz nie wiem co sie dzieje...

0
  1. która wersja Delphi
  2. jakieś błędy
  3. dokładna treść z okienka po naciśnięciu przycisku install
0

Delphi 7
Zadnych bledow...
pisze, ze sie zainstalowalo... a po restarcie nie mam zadnej nowej zakladki... :( ??

0
Misiekd napisał(a)

ja wiem, że wtórny analfabetyzm postępuje itd ale bez przesady ...

  1. You may need to add the folder containing the components to your library path
    (select Tools -> Environment Options from the menu).

(...)

Czy wykonałaś ten krok? I po dodaniu komponentu, powinno pokazać Ci się okno domyślnego pakietu z komponentami. Zanim je zamkniesz, czy zapisujesz zmiany w pakiecie?

0

mysle, ze tez robilam... :( ja juz nie wiem co sie dzieje... :( moze ktos dla pewnosci powiedziec krok po kroku jak zainstalowac ten komponent, aby chodzilo na 100% ?

0

na 100% chodzi jak się zrobi to co podałem wcześniej

0

moze cos zle rozumie... :( moge prosic jakis szybki kurs po polsku jak to zrobic ?

0
  1. Otwierasz CoolTrayIcon_D6plus.dpk klikając na tym pliku dwa razy albo wybierając "Open Project" w Delphi

  2. naciskasz Compile, potem Install.

  3. Możesz potrzebować dodać folder zawierający komponent do library path (wybierz Tools -> Environment Options z menu).

0

tyle sama wiem :) a cos jeszcze ?

0

zrozum, że nie ma nic więcej - żadne magiczne obrzędy nie są wymagane

0

zrobilam :* dziekuje :)

0

ojjj... a ma ktos moze jakies instrukcje co do czego ? i jak to dziala ? bo wchodzi mi do tray'a i juz nie chce wyjsc... ani menu nie ma... wie ktos gdzie znaleŹĆ cos, aby poczytac ? :> PO POLSKIEMU :>

0

dema tam masz ...

0

ok ;) to mam pytanie.. dlaczego gdy program juz wejdzie do tray'a to juz po kliknieciu w button nie chca sie dziac inne rzeczy ? np visible nie chodzi... albo width w objektach... czemu ?

0

jaki button? jakie inne rzeczy?
mi tam wszystko działa.
Mam dla Ciebie 2 rady

  1. jak robisz to (programowanie) dla sportu to sobie daruj
  2. kod, kod przede wszystkim - wróżka ma wolne a szklana kula się potłukła...
0

mozesz sobie darowac takie odpowiedzi :/ ja chce bo lubie i ucze sie... nie bede od razu machac super programy... wiec wybacz, ze to dla Ciebie za niski poziom...

i chodzi mi o to, ze gdy mam button na formie i klikam sobie na niego to np panel sie pokazuje i chowa (visible)... teraz zminimalizuje okno... to CoolTrayIcon na akcje Click dodaje Application.Restore, pokazuje sie aplikacja i gdy juz klikam na button to panel przestaje sie chowac... :/ nie reaguje... i mam z czyms takim problem...

moze to wina wywolania programu ? albo cos z objekcje cooltraicon zle poustawialam ?

0

Witam

a takie coś Ci działa??

procedure TForm1.CoolTrayIcon1Click(Sender: TObject);
begin
   CoolTrayIcon1.ShowMainForm;
end;

procedure TForm1.Button1Click(Sender: TObject);
begin
   showmessage('działa button');
end;

procedure TForm1.CoolTrayIcon1MouseMove(Sender: TObject;
  Shift: TShiftState; X, Y: Integer);
begin
   CoolTrayIcon1.ShowHint:=True;
   CoolTrayIcon1.Hint:=Form1.Caption;
end;

pozdrawiam

0

dzialaaa :) zrobilam :) dziekuje bardzo :)

0

No to bardzo fajnie jak działa :-) nie ma za co :-) pozdrawiam :-) [browar]

1 użytkowników online, w tym zalogowanych: 0, gości: 1