|
|
|
DBGrid
|
|||
|---|---|---|---|
|
#18+
Работаю с DBGrid. При помощи DataSource в ней показываются данные из нескольких связанных таблиц. Нужно как-то поставить условие доля выделенной строки DBGrid (если строка выделена, то выполнить действие). ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 29.05.2007, 05:47 |
|
||
|
DBGrid
|
|||
|---|---|---|---|
|
#18+
TCustomDBGrid::SelectedRows Specifies a set of bookmarks for all the records in the dataset that correspond to rows selected in the grid. __property TBookmarkList* SelectedRows = {read=FBookmarks}; Description Use the properties and methods of the TBookmarkList object returned by SelectedRows to Determine the number of rows in the grid that are selected. Determine whether the current record in the dataset is selected. Determine whether a particular record in the dataset is selected. Delete all selected rows from the dataset. SelectedRows is only meaningful when the Options property includes dgRowSelect and dgMultiSelect. EXAMPLE: The following example copies the selected rows in a db grid to a list box. Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 31.05.2007, 10:56 |
|
||
|
|

start [/forum/topic.php?fid=57&fpage=292&tid=2028778]: |
0ms |
get settings: |
5ms |
get forum list: |
15ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
46ms |
get topic data: |
8ms |
get forum data: |
2ms |
get page messages: |
31ms |
get tp. blocked users: |
1ms |
| others: | 208ms |
| total: | 322ms |

| 0 / 0 |
