Announcement

Collapse
No announcement yet.

GCIWidget library question

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

  • GCIWidget library question

    In workshop, winbuttons have the "statuswhenOn" and "statuswhenOff" , How do I set that in the code?

  • #2
    Not sure what you are meaning, you can only set them at design time, click on the + and it will drop down the underlying properties
    Mark

    Comment


    • #3
      Hell, Thank you for your reply. What I mean is after setting it in design time, I need to somehow set the status of the button in the programming. for example you would set the status of a led using alarmled.setValue(0);

      Comment


      • #4
        Hi Woerr,

        You can write, for example,

        Code:
        gciWinbutton2.setValue(frameValue);
        where 0 <= frameValue < 4

        since a winbutton object has four frames (Momentary = "No" configuration).

        Perhaps you can use this project as a reference:

        4D-PR-00001 Picadillo-35T Real-Time Clock and Calendar
        http://forum.4dsystems.com.au/forum/...k-and-calendar


        Prior to using the project however, please read this thread:
        http://forum.4dsystems.com.au/forum/...display-module

        There are examples also in the UECIDE software.

        Hope this helps and regards
        Doff

        Comment

        Working...
        X