Hyper Report Form help

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

  • Hyper Report Form help

    Hi,

    So I came up dry with a forum search of "backcolor", and "EventClick" doesn't help with what I want.

    I have three yellow buttons and when one is selected, the other two turn red when the selected button turns green.
    I am using v2012 MR1 #642, and was making progress with scripting the EventClick for option Button1:
    Button1.BackColor=0.128
    Button2.BackColor=255.0
    Button3.BackColor=255.0

    I had thought that the color code would be in the format 000.000.000 (RGB) but a Syntax error shows. No syntax error shows for format 000.000
    When the form is ran & Button1 is clicked, it seems that the first 3 numbers control the "R" section of RGB BackColor in the Standard tab, while the second 3 numbers don't seem to control anything.
    From the above script, the buttons become:
    Button1's BackColor becomes 0.0.0
    Button2's BackColor becomes 255.0.0
    Button3's BackColor becomes 255.0.0

    It only gives a variation of red approaching black.



    Thanks in advance to everyone who will direct me on the correct way.

  • #2
    button1.backcolor = rgb(255,0,0)
    Automettech - Automated Metrology Technology

    Comment


    • #3
      Legend..
      thanks NinjaBadger

      Comment

      Related Topics

      Collapse

      Working...
      X