User Tag List

Results 1 to 2 of 2

Thread: System colors return a value of -999999999

  1. #1
    Clicker Fusion 2.5Fusion 2.5+ DLC

    Join Date
    Sep 2010
    Posts
    175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    System colors return a value of -999999999

    I don't know if this is an issue or not, or if anyone among the click community is aware of this, but I was messing around with CF today and had a random thought:

    I can use a counter to return the color index value of a pixel's color (say, within an active object). So, I wondered the same thing about a system color (say, from the system box object[s]). However, and I don't know if it's because system colors are dynamic and can vary from system to system, but the counter always returns a negative value of -999999999.

    I created an .mfa to show this off.

    Any thoughts on why this happens?
    Attached files Attached files

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUnicode Add-onInstall Creator

    Join Date
    Jul 2006
    Posts
    1,018
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You have to convert the System color to RGB color.

    In your case set the counter to: SysToRGB( "Active System Box", Button Face( "Active System Box" ) )

    You can find the expression SysToRGB() called Convert System Color To RGB in the context menu of every System Box object.

Similar Threads

  1. How to know the colors used in 32768 colors app?
    By paobrasil in forum Fusion 2.5
    Replies: 1
    Last Post: 29th May 2014, 01:21 PM
  2. If <=10 return 1, if <10 return 0
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 9th October 2012, 10:08 PM
  3. Button Object System Colors Disabled
    By Jacob in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 18th August 2009, 10:34 AM
  4. Return a Float
    By Jaffob in forum Extension Development
    Replies: 3
    Last Post: 3rd April 2009, 11:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •