|
Как добавить пункт из одного ListBoxa в другой ?
|
|||
---|---|---|---|
#18+
List1: Column=2 List2: Column=2 Как добавить из List1 в List2 сразу обе колонки в один пункт? thisform.List2.AddItem(.List1.List(.List1.ListIndex,1),.List1.List(.List1.ListIndex,2)) ? Не получается ... |
|||
:
Нравится:
Не нравится:
|
|||
16.07.2003, 09:17 |
|
Как добавить пункт из одного ListBoxa в другой ?
|
|||
---|---|---|---|
#18+
А за два приема? Код: plaintext 1.
... |
|||
:
Нравится:
Не нравится:
|
|||
16.07.2003, 09:45 |
|
Как добавить пункт из одного ListBoxa в другой ?
|
|||
---|---|---|---|
#18+
Вот так работает .List2.AddItem(.List1.List(.List1.ListIndex,1),LCount,1) .List2.List(lCount,2)=.List1.List(.List1.ListIndex,2) ... |
|||
:
Нравится:
Не нравится:
|
|||
16.07.2003, 13:10 |
|
Как добавить пункт из одного ListBoxa в другой ?
|
|||
---|---|---|---|
#18+
А так еще лучше для двумерного массива if .List2.ListCount=0 lcount=1 else lcount=(.List2.ListCount)+1 endif .List2.AddItem(.List1.List(.List1.ListIndex,1),lcount,1) .List2.List(lCount,2)=.List1.List(.List1.ListIndex,2) mas1(.List1.ListIndex,1)='\'+mas1(.List1.ListIndex,1) .List1.requery ... |
|||
:
Нравится:
Не нравится:
|
|||
16.07.2003, 13:19 |
|
|
start [/forum/topic.php?fid=41&msg=32209260&tid=1598128]: |
0ms |
get settings: |
9ms |
get forum list: |
14ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
38ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
48ms |
get tp. blocked users: |
1ms |
others: | 265ms |
total: | 396ms |
0 / 0 |