![]() |
GuiTextEditSliderCtrl
I'm trying to use a GuiTextEditSliderCtrl to select layers for my Level Editor. To change a value to know which layer it's on, I need to know when one of the buttons (^v) are pressed, but onAction() doesn't seem to be the event that calls. What is it?
|
HTML Code:
thiso.catchevent(this, "onReleaseSlider", "onYourFunctionHere");HTML Code:
thiso.catchevent(this, "onAction", "onYourFunctionHere"); |
Quote:
onReleaseSlider is for a GuiSliderCtrl, not a GuiTextEditSliderCtrl. GuiSliderCtrl: http://wiki.graal.net/images/8/8d/Guicontrol_slider.png GuiTextEditSliderCtrl: http://wiki.graal.net/images/2/23/Gu...editslider.png Edit: Nevermind, I figured I can use onMouseUp which is similar to onReleaseSlider. |
| All times are GMT +2. The time now is 05:46 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.