Новые сообщения [новые:0]
Дайджест
Горячие темы
Избранное [новые:0]
Форумы
Пользователи
Статистика
Статистика нагрузки
Мод. лог
Поиск
|
02.11.2002, 07:15
|
|||
---|---|---|---|
|
|||
DBGrid - раскрывающиеся списки. |
|||
#18+
Есть ли в VisualBasic'e DBGid в котором можно определить столбец как ComboBox и CheckBox (типа Lookup в TDBGrid в Delphi). Где его взять (бесплатно:)? ... |
|||
:
Нравится:
Не нравится:
|
|||
|
04.11.2002, 09:22
|
|||
---|---|---|---|
DBGrid - раскрывающиеся списки. |
|||
#18+
Я сделал ето в ручную попробуй- Sub DataGrid1_MouseDown(Button As Integer, _ Shift As Integer, X As Single, Y As Single) On Error GoTo net ' Declare variables. Dim DY, DX, RowValue, ColValue, CellLeft, CellTop ColValue = DataGrid1.ColContaining(X) RowValue = DataGrid1.RowContaining(Y) ' Get the height of the cell. DY = DataGrid1.RowHeight ' Get the width of the cell. DX = DataGrid1.Columns(ColValue).Width CellLeft = DataGrid1.Columns(ColValue).Left If RowValue <> -1 Then CellTop = DataGrid1.RowTop(RowValue) DataCombo1.Text = DataGrid1.Columns(ColValue). _ CellValue(DataGrid1.RowBookmark(RowValue)) DataCombo1.Move CellLeft, CellTop, DX, DY DataCombo1.Drag ' Drag label outline. End If net: End Sub ... |
|||
:
Нравится:
Не нравится:
|
|||
|
|
start [/forum/topic.php?fid=60&mobile=1&tid=2171574]: |
0ms |
get settings: |
10ms |
get forum list: |
15ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
45ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
46ms |
get tp. blocked users: |
2ms |
others: | 15ms |
total: | 156ms |
0 / 0 |