Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "Основная";
Текущий архив: 2003.03.10;
Скачать: [xml.tar.bz2];

Вниз

ImageList1   Найти похожие ветки 

 
max2000   (2003-02-26 13:43) [0]

Мне нужно в ImageList1 добавить иконку. Я делаю ImageList1.Items.Addicon(), что нужно вставить в скобки, чтобы была добавлена иконка?


 
Smashish   (2003-02-26 13:51) [1]

function AddIcon(Image: TIcon): Integer;

Description

Use the AddIcon method to add the icon specified by the Image parameter to an image list. AddIcon returns the index of the added image, or -1 if it fails.
_________________________________________________________________
TIcon is an encapsulation of a Windows icon.
Unit
Graphics
Description
Use TIcon to represent one of the icons in an image list. Assign an icon to objects that have an Icon property, such as TForm or TPicture.
Icon objects represent the value loaded from a Windows icon file (.ICO file). Draw an icon on a canvas, using the Draw method of the TCanvas object. Icons do not stretch, so do not use TCanvas.StretchDraw with an icon.
Note: TIcon can be used to display the value of a multi-resolution (>16 color) icon. However, it can not support the creation of multi-resolution icons, nor the resizing of the image after it is loaded from a file or stream.
______________________________________________________________
у TIcon
procedure LoadFromFile(const FileName: string); virtual;

Description

LoadFromFile reads the file specified in FileName and loads the data into the graphics object.

RTFM!!!!!!!!!!!



Страницы: 1 вся ветка

Форум: "Основная";
Текущий архив: 2003.03.10;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.54 MB
Время: 0.04 c
3-29761
KA_
2003-02-19 11:00
2003.03.10
Почему не работает UPPER?


1-29902
Silver_
2003-02-18 16:01
2003.03.10
Права доступа к ...


14-30088
ASV
2003-02-21 16:05
2003.03.10
Союз нерушимый...


14-30006
DimonXP
2003-02-20 11:49
2003.03.10
Не срабатываб точки остнова


1-29811
Kventin
2003-02-27 21:13
2003.03.10
Просмотр html с тегом <STYLE>





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский