|
|
|
Проблемы с 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/search_topic.php?author=the_ra&author_mode=last_posts&do_search=1]: |
0ms |
get settings: |
10ms |
get forum list: |
19ms |
get settings: |
8ms |
get forum list: |
18ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
76ms |
get topic data: |
10ms |
get forum data: |
2ms |
get page messages: |
26ms |
get tp. blocked users: |
1ms |
| others: | 689ms |
| total: | 867ms |

| 0 / 0 |
