Announcement

Collapse
No announcement yet.

Click counter within the application?

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

  • Click counter within the application?

    How could I create a button click counter? Clicking on an application button adds a +1 unit and this is saved even after closing the application. That is, if I click 10 times the number 10 appears, and when closing and opening the application the next click will result in number 11

  • #2
    How do I...? Persist data across sessions explains the process, found in the product documentation.

    Ulrich

    Comment


    • #3
      Originally posted by Ulrich View Post
      How do I...? Persist data across sessions explains the process, found in the product documentation.

      Ulrich
      Thanks for the info, I'll try to do something with that. regards

      Comment


      • #4
        or you can use registry value

        On Show
        clickCounter = String.ToNumber(Registry.GetValue(HKEY_CURRENT_USE R, "Software\\My Application", "Counter", true))


        On mouse button

        if e_Type == 1 then
        clickCounter = clickCounter+1
        end



        telco

        Comment

        Working...
        X