|
|
|
Проблемы с GUI v Avtoit
|
|||
|---|---|---|---|
|
#18+
Вот кусок кода.Возвращаемое значение _GUICtrlListBox_FindString($List1,$read[$i]) = -1 т.к совподения нет, $FindText = 0 но все равно уменя получается что условие If $FindText = $read[$i] Then выполняется?Это почему так,я уже всю голову сломал $read = IniReadSectionNames($Dir) If @error <> 1 Then For $i=1 To $read[0] MsgBox(0,'',$i) $FindStr = _GUICtrlListBox_FindString($List1,$read[$i]) MsgBox(0,'',$FindStr) ;возвращает -1 $FindText = _GUICtrlListBox_GetText($List1,$FindStr) ; $findText = 0 здесь If $FindText = $read[$i] Then MsgBox(0,'',$LB_ERR ); здесь тоже -1 ExitLoop Else _GUICtrlListBox_AddString($List1, $read[$i]) EndIf Next EndIf ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 30.12.2010, 22:08 |
|
||
|
|

start [/forum/topic.php?fid=16&msg=37043161&tid=1343221]: |
0ms |
get settings: |
6ms |
get forum list: |
14ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
224ms |
get topic data: |
6ms |
get forum data: |
1ms |
get page messages: |
25ms |
get tp. blocked users: |
2ms |
| others: | 279ms |
| total: | 563ms |

| 0 / 0 |
