|
DBGrid - раскрывающиеся списки.
|
|||
---|---|---|---|
#18+
Есть ли в VisualBasic'e DBGid в котором можно определить столбец как ComboBox и CheckBox (типа Lookup в TDBGrid в Delphi). Где его взять (бесплатно:)? ... |
|||
:
Нравится:
Не нравится:
|
|||
02.11.2002, 07:15 |
|
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 ... |
|||
:
Нравится:
Не нравится:
|
|||
04.11.2002, 09:22 |
|
|
start [/forum/topic.php?fid=60&tid=2171574]: |
0ms |
get settings: |
9ms |
get forum list: |
12ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
26ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
35ms |
get tp. blocked users: |
1ms |
others: | 11ms |
total: | 117ms |
0 / 0 |