Game Development Community

GuiSliderCtrl and tooltips on each tick

by Aaron K Murray · in Torque Game Builder · 01/19/2008 (10:38 pm) · 0 replies

Is there a way to show a different tooltip on each tick of the slider? Right now it shows a single tooltip for all ticks in the range...Example:

new GuiSliderCtrl() {
         canSaveDynamicFields = "0";
         internalName = "SliderLevelLength";
         class = "";
         superclass = "";
         Profile = "GuiSliderProfile";
         HorizSizing = "right";
         VertSizing = "bottom";
         position = "138 290";
         Extent = "235 64";
         MinExtent = "8 2";
         canSave = "1";
         Visible = "1";
         Variable = " ";
         Command = " ";
         AltCommand = " ";
         Accelerator = " ";
         tooltipprofile = "";
         tooltip = "lazy quick normal long epic";
         hovertime = "1000";
         langTableMod = " ";
         range = "0 5";
         ticks = "4";
         value = "1";
      };