Difference between revisions of "cmf viewdistance fnc LBsetSyncMode"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
|version2=2.1.0 | |version2=2.1.0 | ||
|descr=This is an internal function of | |descr=This is an internal function of viewdistance. It changes the syncronization mode based on a listbox control. | ||
{{CMF Feature|IMPORTANT|This is an internal function. This means that the function is called by another function and should not be called manually.}} | {{CMF Feature|IMPORTANT|This is an internal function. This means that the function is called by another function and should not be called manually.}} | ||
|exec=Call | |exec=Call | ||
|cmp= | |cmp=viewdistance | ||
|s1=[mode, variableString, textbox, slider, sliderTextbox] call [[cmf_viewdistance_fnc_LBsetSyncMode]] | |s1=[mode, variableString, textbox, slider, sliderTextbox] call [[cmf_viewdistance_fnc_LBsetSyncMode]] | ||
Line 20: | Line 20: | ||
|p2= variableString: [https://community.bistudio.com/wiki/String String] - The variable to write to | |p2= variableString: [https://community.bistudio.com/wiki/String String] - The variable to write to | ||
|p3= textbox: [https://community.bistudio.com/wiki/ | |p3= textbox: [https://community.bistudio.com/wiki/Control Control] - The textbox to write changes to | ||
|p4= slider: [https://community.bistudio.com/wiki/ | |p4= slider: [https://community.bistudio.com/wiki/Control Control] - The slider to get the sync percentage from | ||
|p5= sliderTextbox: [https://community.bistudio.com/wiki/ | |p5= sliderTextbox: [https://community.bistudio.com/wiki/Control Control] - The slider textbox to write changes to | ||
|r1=None | |r1=None | ||
|x1= {{code|lang=scilab|[1, "foot", _myTextCtrl, _mySliderCtrl, _mySliderTextCtrl] call cmf_viewdistance_fnc_LBsetSyncMode;}} | |x1= {{code|lang=scilab|[1, "foot", _myTextCtrl, _mySliderCtrl, _mySliderTextCtrl] call cmf_viewdistance_fnc_LBsetSyncMode;}} | ||
|seealso= [[cmf_viewdistance_fnc_init]] [[cmf_viewdistance_fnc_keyDown]] [[cmf_viewdistance_fnc_keyDownTerrain]] [[cmf_viewdistance_fnc_onEBinput]] | |||
[[cmf_viewdistance_fnc_onEBterrainInput]] [[cmf_viewdistance_fnc_onLBSelChanged]] [[cmf_viewdistance_fnc_onSliderChange]] [[cmf_viewdistance_fnc_setInputSyncmode]] | |||
[[cmf_viewdistance_fnc_updateSettings]] [[cmf_viewdistance_fnc_updateVehType]] [[cmf_viewdistance_fnc_openDialog]] | |||
}} | }} |
Latest revision as of 22:17, 17 December 2022
Description
- Description:
- This is an internal function of viewdistance. It changes the syncronization mode based on a listbox control.
- Execution:
- Call
- Groups:
- CMF3: viewdistance
Syntax
- Syntax:
- [mode, variableString, textbox, slider, sliderTextbox] call cmf_viewdistance_fnc_LBsetSyncMode
- Parameters:
- mode: Number - The syncronization mode to select
- variableString: String - The variable to write to
- textbox: Control - The textbox to write changes to
- slider: Control - The slider to get the sync percentage from
- sliderTextbox: Control - The slider textbox to write changes to
- Return Value:
- None
Examples
- Example 1:
[1, "foot", _myTextCtrl, _mySliderCtrl, _mySliderTextCtrl] call cmf_viewdistance_fnc_LBsetSyncMode;
Additional Information
- See also:
- cmf_viewdistance_fnc_init cmf_viewdistance_fnc_keyDown cmf_viewdistance_fnc_keyDownTerrain cmf_viewdistance_fnc_onEBinput cmf_viewdistance_fnc_onEBterrainInput cmf_viewdistance_fnc_onLBSelChanged cmf_viewdistance_fnc_onSliderChange cmf_viewdistance_fnc_setInputSyncmode cmf_viewdistance_fnc_updateSettings cmf_viewdistance_fnc_updateVehType cmf_viewdistance_fnc_openDialog
Internal Variables
- No internal variables
Events
- No events
Notes