UIElement.SetScrollValue (Civ5 API)

From Civilization Modding Wiki
Jump to navigationJump to search

This page is a part of the Lua and UI Reference (Civ5).


Function.png This function is a member of ControlBase.

This is an instance method, invoke it with a colon.


Usage

void UIElement:SetScrollValue(int arg0)


Parameters

arg0: No description available.


Source code samples

Redundant occurences have been removed.

ChooseReligionPopup.lua (G&K)

DLC/Expansion/UI/InGame/Popups/ChooseReligionPopup.lua
0533
Controls.BeliefScrollPanel:SetScrollValue(0);


CivilopediaScreen.lua

UI/Civilopedia/CivilopediaScreen.lua
6116
Controls.ScrollPanel:SetScrollValue( 0 );


DiploCorner.lua

UI/InGame/WorldView/DiploCorner.lua
0183
Controls.ChatScroll:SetScrollValue( 1 );


InstalledPanel.lua

UI/FrontEnd/Modding/InstalledPanel.lua
0752
Controls.DescriptionScrollPanel:SetScrollValue(0);


TradeLogic.lua

UI/InGame/WorldView/TradeLogic.lua
0454
Controls.UsPocketPanel:SetScrollValue( 0 );
0455
Controls.UsTablePanel:SetScrollValue( 0 );
0456
Controls.ThemPocketPanel:SetScrollValue( 0 );
0457
Controls.ThemTablePanel:SetScrollValue( 0 );
2497
m_panel:SetScrollValue( 0 );
2636
panel:SetScrollValue( 0 );



The initial version of this page was created by the Civ5 API Bot, see the Civ5 API Reference FAQ. Some of the texts come from the 2kgames' wiki and most of code samples are copyrighted to Firaxis.
Functions' signatures were either copied from the 2kgames' wiki, or infered from the Lua source files and the binaries. Errors are possible.
Contributors may find help in the Contributors guide to the Civ5 API.