Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Problem with DelKeyAction (Read 2308 times)
tzippy
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 77
Joined: Jan 11th, 2009
Problem with DelKeyAction
May 14th, 2009 at 10:18am
Print Post  
Hi,
DelKeyAction works well only if I click with the rightButton on the selected item.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Problem with DelKeyAction
Reply #1 - May 14th, 2009 at 10:46am
Print Post  
Hi,

The diagram might not have the keyboard focus before you click on it. You could call Diagram.Focus() from the form_loaded event to automatically focus it.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
tzippy
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 77
Joined: Jan 11th, 2009
Re: Problem with DelKeyAction
Reply #2 - May 14th, 2009 at 12:55pm
Print Post  
The diagram hes the keyboard focus and although it happens.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Problem with DelKeyAction
Reply #3 - May 14th, 2009 at 1:57pm
Print Post  
If the diagram is inside a ScrollViewer, set <ScrollViewer Focusable="False" ... >. Otherwise it has the nasty habit of stealing the keyboard focus.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
tzippy
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 77
Joined: Jan 11th, 2009
Re: Problem with DelKeyAction
Reply #4 - May 17th, 2009 at 2:37pm
Print Post  
Thanks,
it helps.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint