Announcement

Collapse
No announcement yet.

Ultraview and temp icon

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Ultraview and temp icon

    I have some problem with Ultraview and the temp icon's. It calls icons type
    ......\html\degrees\t31,56.gif
    ......\html\degrees\t31,55.gif
    ......\html\degrees\t31,58.gif
    Does Ultraview support celsius view?

    Does anyone knows?

    / Jonas Hellgren, Sweden

    #2
    Ultra_view2_xml.inc this file seem to be the one to change.

    function BuildIcon(byVal strIcon)

    'Strip out all HTML
    strIcon = Strip(strIcon, "\([^\)]*\)", "")

    'Clean out all occurances of degrees symbol
    strIcon = replace(strIcon, "°", "")
    strIcon = replace(strIcon, "°", "")
    strIcon = replace(strIcon, "degrees", "")

    'Clean up and spaces
    strIcon = replace(strIcon, " ", "")

    'Use degrees icons if numeric
    if IsNumeric(strIcon) then
    strIcon = "degrees/t" & strIcon
    end if

    strIcon = strIcon & ".gif"

    BuildIcon = strIcon

    end function

    Does anyone what to enter. I need strIcon to match the gif icon's. My value include a comma most of the time.
    t25,45.gif
    t31,32.gif
    and some time if i'am lucky t25.gif

    / Jonas Hellgren, Sweden

    Comment


      #3
      Modificated "ultra_view2_xml.inc" solved the problem.

      / Jonas Hellgren, Sweden
      Attached Files

      Comment

      Working...
      X