Вниз
Скачать: CL | DM;

Прорисовка PopupMenu   Найти похожие ветки 

 
Washington ©   (2008-01-14 15:13) [0]

Разобрался я с вызовом оного. Теперь разобраться бы с прорисовкой. Можно ли его ручками нарисовать? Если можно, то как?


 
Amoeba ©   (2008-01-14 17:27) [1]

Можно.

Specifies whether the menu items are drawn by the application.

property OwnerDraw: Boolean;

Description

Set OwnerDraw to True to indicate that the application will draw menu items in an OnDrawItem event handler. When OwnerDraw is True, menu items receive an OnMeasureItem and an OnDrawItem event when they need to be rendered on screen.

Set OwnerDraw to False to accept the default drawing. When OwnerDraw is False, menu items display the caption with an optional image to the left (If the Images and ImageIndex properties are set).

Owner-draw menus are useful for displaying the value that appears when selecting a menu item. For example, in a menu that allows users to choose a color, an owner-draw menu could display rectangles drawn in the designated color, rather than color names.



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

Скачать: CL | DM;



Память: 0.44 MB
Время: 0.013 c
2-1200571334
_Shuler_
2008-01-17 15:02
2008.02.10
Winrar&Delphi


15-1199742231
Bloodman
2008-01-08 00:43
2008.02.10
Задачка по ТеорВер у


15-1200054385
Ega23
2008-01-11 15:26
2008.02.10
Надо работать с UDP


15-1199960045
Kold
2008-01-10 13:14
2008.02.10
второй монитор


2-1200288161
АндрейК
2008-01-14 08:22
2008.02.10
номер строки в DBGrid




   Наверх