Origin Version (Select Help-->About Origin): 7.5G SR2.1 Operating System: XP
Hello I´m looking for a way to shift the value in an worksheet cell from 0 to 1 and back by clicking on it with the mouse. Do Origin know which cell is clicked/touched and is able to start an OC-programm then?? Is any internal function running when selecting a cell, where I can add special parts? I tried the AutoUpdateFunction in Columns with own C-functions, but this doesn´t react on mouse-clicks. I need this function for controlling the behaviour of a programm. This programm reads many files and computes some values from the data, subject to the values (0/1) in the main-worksheet. Thank you Martin
Thank you Easwar I got it: In a endless-loop, the ScreenReader „LT_execute("dotoolbox -dh 2")“ is used for detecting a click and his position. Via „LT_get_var("X", &dXPos);“ the cell (or a complete column) is toggled. The loop terminates when clicked in an illegal region. It´s not as comfortably as „Worksheet_SelectionChange“ in Excel, but it works. Martin