From Stealth Client

Jump to: navigation, search
m (1 revision)
Line 5: Line 5:
</noinclude>
</noinclude>
== CloseSimpleGump ==
== CloseSimpleGump ==
-
<source lang="pascal">procedure CloseSimpleGump(GumpIndex : Word)</source>
+
<source lang="pascal">procedure CloseSimpleGump(GumpIndex:Word)</source>
 +
Closes the "easy" to index Gump'' GumpIndex''
-
Закрывает "простой" гамп с индексом ''GumpIndex''
+
Closes specials. way, without pressing any buttons on them - as it happens in the client when you press the right mouse button.
-
Закрывает спец. путем, без нажатия каких-либо кнопок на них - как это происходит в клиенте при нажатии правой кнопки мыши.
+
'''Example:'''
-
 
+
-
'''Пример:'''
+
<source lang="pascal">
<source lang="pascal">
If IsGump then
If IsGump then

Revision as of 21:39, 15 February 2012


CloseSimpleGump

procedure CloseSimpleGump(GumpIndex:Word)

Closes the "easy" to index Gump GumpIndex

Closes specials. way, without pressing any buttons on them - as it happens in the client when you press the right mouse button.

Example:

If IsGump then
  if IsGumpCanBeClosed(GetGumpsCount-1) then
    CloseSimpleGump(GetGumpsCount-1);