How do I detect a click in Graph2?
Inge Bøhn
inge at dakantus.no
Tue May 27 14:16:22 EDT 2008
Hi David
As far as I can see I follow what is said in this manual, and I do
the clicks on data objects, but still I can't get the event. Have you
got this to work?
Regards
Inge
Den 27. mai. 2008 kl. 20.03 skrev David Swain:
> Hi Inge,
>
> There is a brief section on that in the latest Graph2 manual from
> TigerLogic - page 40. If you don't have that pdf file, you can
> download it from the Manuals download page at this location:
>
> <http://www.omnis.net/download/index.html?detail=manuals>
>
> Regards,
>
> David Swain
>
> On May 27, 2008, at 1:48 PM, Inge Bøhn wrote:
>
>> In Studio 4.2 Mac I have a window with a Graph2 xy bar chart that
>> shows bars for different period in a year.
>>
>> I want to click on a bar and get the "name" of this bar.
>>
>> In the graph's $event method I detect some of the events that are
>> described: evBefore and evAfter, evMousedown and some more.
>>
>> This is an example of what I try to do:
>>
>> On evGraphClick
>> Calculate lvPeriodString as pSetname
>> OK message {The period is [lvPeriodString]}
>>
>> But I can't detect this evGraphClick (except that it sometimes
>> responds when I click inside a very small part of the graph).
>>
>> Is there something I should have said by notation or something
>> else I should have done that causes this?
>>
>> Anyone having an idea?
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
More information about the omnisdev-en
mailing list