Click here to Skip to main content
15,891,905 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: MouseUp-Event doesn't react on left mouse button Pin
Mark Salsbery7-Aug-09 7:42
Mark Salsbery7-Aug-09 7:42 
GeneralRe: MouseUp-Event doesn't react on left mouse button Pin
MyPiano7-Aug-09 7:58
MyPiano7-Aug-09 7:58 
GeneralRe: MouseUp-Event doesn't react on left mouse button Pin
Mark Salsbery7-Aug-09 8:43
Mark Salsbery7-Aug-09 8:43 
GeneralRe: MouseUp-Event doesn't react on left mouse button [modified] Pin
MyPiano7-Aug-09 10:22
MyPiano7-Aug-09 10:22 
GeneralRe: MouseUp-Event doesn't react on left mouse button Pin
Mark Salsbery7-Aug-09 11:41
Mark Salsbery7-Aug-09 11:41 
GeneralRe: MouseUp-Event doesn't react on left mouse button Pin
MyPiano7-Aug-09 12:14
MyPiano7-Aug-09 12:14 
GeneralRe: MouseUp-Event doesn't react on left mouse button Pin
Mark Salsbery7-Aug-09 13:13
Mark Salsbery7-Aug-09 13:13 
GeneralRe: MouseUp-Event doesn't react on left mouse button Pin
MyPiano8-Aug-09 8:02
MyPiano8-Aug-09 8:02 
Hey Mark,

i found the problem now. After a second very intensive research on google, I found this MDSN article:

UIElement.MouseLeftButtonDown Event

The problem was that the control didn't captured the MouseButton after the MouseDownEvent because the Mouse probably moved over other object or st. similar. So I captured the mouse on the control:

private void label4_MouseDown(object sender, MouseButtonEventArgs e)
      {
          label4.CaptureMouse();
      }

 private void label4_MouseUp(object sender, MouseButtonEventArgs e)
      {
         label4.ReleaseMouseCapture();
      }


That's all. As someone who worked with normal windows forms applications in the past a strange solution but okay.

Thanks for the tips and your patience. Smile | :)

Best regards

MyPiano
QuestionDatabinding in Silverlight with databases other than with SQL Server Pin
pisanis7-Aug-09 4:53
pisanis7-Aug-09 4:53 
AnswerRe: Databinding in Silverlight with databases other than with SQL Server [modified] Pin
Mike Marynowski7-Aug-09 6:30
professionalMike Marynowski7-Aug-09 6:30 
AnswerRe: Databinding in Silverlight with databases other than with SQL Server [modified] Pin
Mark Salsbery7-Aug-09 7:23
Mark Salsbery7-Aug-09 7:23 
AnswerRe: Databinding in Silverlight with databases other than with SQL Server Pin
Michael Sync8-Aug-09 6:08
Michael Sync8-Aug-09 6:08 
GeneralDynamically loading Silverlight UserControl from a single.xap [modified] Pin
Amit Rai Sharma6-Aug-09 23:37
Amit Rai Sharma6-Aug-09 23:37 
QuestionNeed just idea or suggestion can u help me? Pin
wasimsharp6-Aug-09 23:12
wasimsharp6-Aug-09 23:12 
AnswerRe: Need just idea or suggestion can u help me? Pin
#realJSOP7-Aug-09 0:54
mve#realJSOP7-Aug-09 0:54 
QuestionNeed an advice about starting a raster drawing program with WPF Pin
Cristoff6-Aug-09 22:54
Cristoff6-Aug-09 22:54 
AnswerRe: Need an advice about starting a raster drawing program with WPF Pin
#realJSOP7-Aug-09 0:57
mve#realJSOP7-Aug-09 0:57 
GeneralRe: Need an advice about starting a raster drawing program with WPF Pin
Cristoff7-Aug-09 2:23
Cristoff7-Aug-09 2:23 
GeneralRe: Need an advice about starting a raster drawing program with WPF PinPopular
#realJSOP7-Aug-09 3:43
mve#realJSOP7-Aug-09 3:43 
GeneralRe: Need an advice about starting a raster drawing program with WPF Pin
Cristoff7-Aug-09 3:53
Cristoff7-Aug-09 3:53 
GeneralRe: Need an advice about starting a raster drawing program with WPF Pin
Pete O'Hanlon7-Aug-09 3:56
mvePete O'Hanlon7-Aug-09 3:56 
GeneralRe: Need an advice about starting a raster drawing program with WPF Pin
Cristoff7-Aug-09 4:58
Cristoff7-Aug-09 4:58 
GeneralRe: Need an advice about starting a raster drawing program with WPF Pin
Veldrain7-Aug-09 11:31
Veldrain7-Aug-09 11:31 
GeneralRe: Need an advice about starting a raster drawing program with WPF PinPopular
#realJSOP7-Aug-09 4:25
mve#realJSOP7-Aug-09 4:25 
GeneralRe: Need an advice about starting a raster drawing program with WPF Pin
Cristoff7-Aug-09 4:54
Cristoff7-Aug-09 4:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.