powered by simpleCommunicator - 2.0.61     © 2026 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / FoxPro, Visual FoxPro [игнор отключен] [закрыт для гостей] / Как изменить курсор мыши на заголовке колонки грида ?
8 сообщений из 8, страница 1 из 1
Как изменить курсор мыши на заголовке колонки грида ?
    #33509759
Фотография --Eugene--
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
если это вообще возможно..
...
Рейтинг: 0 / 0
Как изменить курсор мыши на заголовке колонки грида ?
    #33509827
Фотография Aleksey-K
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
А в чем проблема !?
У Header есть свойства MouseIcon и MousePointer
MousePointer = 99 и MouseIcon - свой файл .ico или .cur.
Все это есть в HELP. Или вы его не читаете?
С уважением, Алексей
...
Рейтинг: 0 / 0
Как изменить курсор мыши на заголовке колонки грида ?
    #33509836
Фотография --Eugene--
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Aleksey-KА в чем проблема !?
У Header есть свойства MouseIcon и MousePointer
MousePointer = 99 и MouseIcon - свой файл .ico или .cur.
Все это есть в HELP. Или вы его не читаете?
С уважением, Алексейпрошу прощения, но приведите цитату. я искал и НЕ нашел. тем более, вылетает рантайм эррор, когда я это делаю
...
Рейтинг: 0 / 0
Как изменить курсор мыши на заголовке колонки грида ?
    #33509843
Трезвый
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Код: plaintext
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
MousePointer Property

Applies To: CheckBox | ComboBox | CommandButton | CommandGroup | Container Object | Control Object | EditBox | Form | Grid | Image | Label | Line | ListBox | OLE Bound Control | OLE Container Control | OptionButton | OptionGroup | _SCREEN | Shape | Spinner | TextBox | ToolBar
Specifies the shape of the mouse pointer when you move the mouse over a particular part of an object at run time. You can use the MousePointer property to indicate changes in functionality as the mouse pointer passes over controls on a form or dialog box. Available at design time and run time.

Object.MousePointer [= nType]
Property Values
nType 
Specifies a value representing the shape of the mouse pointer. 
Note   When you set the MousePointer property using the Properties window, the drop-down list displays the setting names used in Visual FoxPro for Windows.
The following table lists the values for nType. 

nType Description 
 0  Shape determined by the object (Default) 
 1  Arrow 
 2  Cross (cross-hair pointer) 
 3  I-beam 
 4  Icon (small white square within a black square) 
 5  Size (four-pointed arrow pointing north, south, east, west) 
 6  Size NE SW (double arrow pointing northeast and southwest) 
 7  Size NS (double arrow pointing north and south) 
 8  Size NW SE (double arrow pointing northwest and southeast) 
 9  Size WE (double arrow pointing west and east) 
 10  Up arrow 
 11  Hourglass or wristwatch 
 12  No Drop 
 13  Hide pointer 
 14  Arrow. Not a valid property value for grids and returns the error "Expression evaluated to an illegal value." 
 15  Hand 
 99  Custom. Uses pointer specified in object's MouseIcon property. 

Remarks
To indicate that the user should wait for a process to finish, set the MousePointer property to  11  (Hourglass or Wristwatch).

When MousePointer is set to  15  (Hand), an arrow appears instead of a hand when running Visual FoxPro applications on Windows NT  4 . 0  operating systems.
Код: plaintext
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
MouseIcon Property

Applies To: CheckBox | ComboBox | CommandButton | CommandGroup | Container Object | Control Object | EditBox | Form | Grid | Image | Label | Line | ListBox | OLE Bound Control | OLE Container Control | OptionButton | OptionGroup | _SCREEN | Shape | Spinner | TextBox | ToolBar
Specifies the mouse pointer icon displayed when the mouse pointer is positioned over an object. Available at design time and run time.

Object.MouseIcon[ = cFileName]
Property Values
cFileName 
Specifies the file that is displayed when the mouse pointer is positioned over the object. You can specify a mouse icon (.ico) file, a mouse cursor (.cur) file, or an animated mouse cursor (.ani) file. 
Remarks
To display the mouse icon, set the MousePointer property to  99  (Custom).
...
Рейтинг: 0 / 0
Как изменить курсор мыши на заголовке колонки грида ?
    #33509867
Фотография --Eugene--
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Visual FoxPro Language Reference

MousePointer PropertySee Also
MouseMove Event | MouseIcon Property

Applies To: CheckBox | ComboBox | CommandButton | CommandGroup | Container Object | Control Object | EditBox | Form | Grid | Image | Label | Line | ListBox | OLE Bound Control | OLE Container Control | OptionButton | OptionGroup | _SCREEN | Shape | Spinner | TextBox | ToolBar
Specifies the shape of the mouse pointer when you move the mouse over a particular part of an object at run time. You can use the MousePointer property to indicate changes in functionality as the mouse pointer passes over controls on a form or dialog box. Available at design time and run time.

Object.MousePointer [= nType]
Property Values
nType
Specifies a value representing the shape of the mouse pointer.
Note When you set the MousePointer property using the Properties window, the drop-down list displays the setting names used in Visual FoxPro for Windows.
The following table lists the values for nType.

nType Description
0 Shape determined by the object (Default)
1 Arrow
2 Cross (cross-hair pointer)
3 I-beam
4 Icon (small white square within a black square)
5 Size (four-pointed arrow pointing north, south, east, west)
6 Size NE SW (double arrow pointing northeast and southwest)
7 Size NS (double arrow pointing north and south)
8 Size NW SE (double arrow pointing northwest and southeast)
9 Size WE (double arrow pointing west and east)
10 Up arrow
11 Hourglass or wristwatch
12 No Drop
13 Hide pointer
14 Arrow. Not a valid property value for grids and returns the error "Expression evaluated to an illegal value."
15 Hand
99 Custom. Uses pointer specified in object's MouseIcon property.

Remarks
To indicate that the user should wait for a process to finish, set the MousePointer property to 11 (Hourglass or Wristwatch).

When MousePointer is set to 15 (Hand), an arrow appears instead of a hand when running Visual FoxPro applications on Windows NT 4.0 operating systems.

See Also
MouseMove Event | MouseIcon Property

Applies To: CheckBox | ComboBox | CommandButton | CommandGroup | Container Object | Control Object | EditBox | Form | Grid | Image | Label | Line | ListBox | OLE Bound Control | OLE Container Control | OptionButton | OptionGroup | _SCREEN | Shape | Spinner | TextBox | ToolBar



--------------------------------------------------------------------------------

Send feedback on this topic to Microsoft

For technical support and product issues, see the "Microsoft Visual FoxPro Technical Support" topic..

© 1992 - 2003 Microsoft Corporation. All rights reserved.

блин! я же пользую VFP8 SP1 забыл написать
...
Рейтинг: 0 / 0
Как изменить курсор мыши на заголовке колонки грида ?
    #33509871
Фотография --Eugene--
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
2 Трезвый

вот именно. там же нету объекта Header (в секции "Applies to")
...
Рейтинг: 0 / 0
Как изменить курсор мыши на заголовке колонки грида ?
    #33509875
Фотография Aleksey-K
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
--Eugene--2 Трезвый

вот именно. там же нету объекта Header (в секции "Applies to")
Ну так с этого и начинайте. Эта функциональность появилась тольк в VFP 9.0
С уважением, Алексей.
...
Рейтинг: 0 / 0
Как изменить курсор мыши на заголовке колонки грида ?
    #33510001
alfa_a
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
До vfp9 изменить указатель мыши header колонки грида , можно было записав следующий код в его метод MouseMove :
Код: plaintext
1.
m.nMousePointer= 15 
This.Parent.Parent.MousePointer= m.nMousePointer   
Это также справедливо и для самой колонки .
...
Рейтинг: 0 / 0
8 сообщений из 8, страница 1 из 1
Форумы / FoxPro, Visual FoxPro [игнор отключен] [закрыт для гостей] / Как изменить курсор мыши на заголовке колонки грида ?
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]