The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 Forum for Origin C
 reaction on mouse-click

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Fiat500 Posted - 08/01/2005 : 05:07:58 AM
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
2   L A T E S T    R E P L I E S    (Newest First)
Fiat500 Posted - 08/04/2005 : 05:07:47 AM
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
easwar Posted - 08/01/2005 : 5:04:39 PM
Hi Martin,

This is currently not supported, but we will consider adding in a future version. Thanks for the post.

Easwar
OriginLab



The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000