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

Вниз

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

 
Nikola62   (2003-09-18 12:01) [0]

Подскажите как отловить выход из ячейки (переход в следующую колонку) в режиме редактирования.


 
Alexandr   (2003-09-18 12:06) [1]

это чтоли? ну так проверяй тут, что источник в режиме редактирования. Вот тебе и 2 условия

Occurs just before a cell in the grid loses input focus.

property OnColExit: TNotifyEvent;

Description

Write an OnColExit event handler to take specific action when a cell is about to lose focus. For example, use OnColExit to post edits to the underlying dataset when the user leaves a cell, rather than waiting for the user to leave the record.

A cell loses focus when

• The user navigates out of the cell using the keyboard. For example, when the user presses the Tab key or the Home key.
• The user clicks the mouse button down in another cell.
• The SelectedField or SelectedIndex property is set.

When the selected cell in the data-aware grid changes, first the OnColExit event occurs. Then the values of SelectedField and SelectedIndex are updated. Finally the OnColEnter event occurs. Thus, in an OnColExit event handler, the SelectedField or SelectedIndex property can be used to determine which column is about to lose focus.



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

Форум: "Базы";
Текущий архив: 2003.10.09;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.44 MB
Время: 0.011 c
1-27487
student
2003-09-25 16:17
2003.10.09
проблема с реестром


1-27428
Triny
2003-09-28 16:52
2003.10.09
Шрифт кнопки


1-27604
orb
2003-09-28 20:12
2003.10.09
народ помогите умираю!


9-27292
R2D2
2003-04-04 11:29
2003.10.09
GLScene - Запись AVI файла.


4-27791
Rel_
2003-08-05 10:43
2003.10.09
Отрисовка в заданной области





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
Английский Французский Немецкий Итальянский Португальский Русский Испанский