Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Invisible tables and mouse events (Read 2672 times)
baron
YaBB Newbies
*
Offline


1001001001

Posts: 42
Joined: Dec 2nd, 2007
Invisible tables and mouse events
Mar 11th, 2008 at 2:25am
Print Post  
Symptom: When clicking on tables or even arrows between tables, I sometimes don't get the click or double click event.

I discovered the cause of this was due to invisible tables that I think are grabbing the mouse events. instead of the visible ones the user thinks he is clicking on.

I worked around this in the meantime by setting the invisible tables to ZBottom. But there are also issues with invisible arrows from what I can see.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Invisible tables and mouse events
Reply #1 - Mar 11th, 2008 at 10:56am
Print Post  
Set fcx.EventFlags(fNoClickEventsForLockedObjs) = True.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
baron
YaBB Newbies
*
Offline


1001001001

Posts: 42
Joined: Dec 2nd, 2007
Re: Invisible tables and mouse events
Reply #2 - Mar 12th, 2008 at 2:44am
Print Post  
Thanks that worked. You may want to consider setting this to True by default for new Charts because most components work this way (i.e. disabled/invisible = no events) - but that's just a suggestion.

It seems when I post in the Bugs forum they turn out to be my lack of knowledge and when I post in Discussion, they turn out to be bugs  Wink
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Invisible tables and mouse events
Reply #3 - Mar 12th, 2008 at 2:30pm
Print Post  
8) Actually the control uses the same event flag for both locked and invisible items. It sounds more logical to raise events for locked items, but not for invisible ones, so perhaps we should add a second flag to let you control the two cases independently from each other.

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint