Search found 25 matches

by Andreas Schooll
17 Mar 2014, 15:04
Forum: General Discussion
Replies: 6
Views: 2756

Re: Preventing a Listboxitem from getting selected

Thanks for your respone. I will look into the details later and see if we can get something out of that. Yes, it is to emulate touch events and to implement a touch scrolling with deceleration. We implemented this before the actual touch mechanism of scrollviewers got implemented. Currently we (and ...
by Andreas Schooll
12 Mar 2014, 16:05
Forum: General Discussion
Replies: 6
Views: 2756

Re: Preventing a Listboxitem from getting selected

Hi, thanks for your response. I have tried to prevent the selection by setting the args.handled to true. This works to prevent the selection on button down, but the items still get selected if i move the mouse (i.e. with left button still down) over another item. Is there a way to prevent this also?...
by Andreas Schooll
10 Mar 2014, 15:53
Forum: General Discussion
Replies: 6
Views: 2756

Preventing a Listboxitem from getting selected

Hi, i have a question related to ListBox / ListViews. We are catching the MouseEvents in our lists ScrollViewers to do customized scrolling. ScrollView.PreviewMouseDown += OnTouch; ScrollView.PreviewMouseUp += OnTouchLost; ScrollView.PreviewMouseMove += OnTouchMove; Unfortunately if you scroll aroun...
by Andreas Schooll
28 Feb 2014, 14:14
Forum: General Discussion
Replies: 2
Views: 1841

Re: Is there a way to create a autoscrolling TextBox

Thanks for your reply. I found the reason: The textbox had wrap enabled. After setting it to NoWrap it works as expected :)

best regards,
Andreas
by Andreas Schooll
27 Feb 2014, 16:45
Forum: General Discussion
Replies: 2
Views: 1841

Is there a way to create a autoscrolling TextBox

Hi, i want to create a single line TextBox that scrolls the cursor into view if the content gets larger than the TextBox width. This is for a filename input box. I tried to manually adjust the TextBox scrollviewer position in the TextChanged delegate but that did not work out. Is there any way to ac...
by Andreas Schooll
27 Feb 2014, 08:59
Forum: General Discussion
Replies: 6
Views: 4981

Re: Scaling of Textbox Caret

I made some more tests regarding the antialiasing settings. As i wrote before the unity quality settings for the screenshot is "8 x multisampling" and the NoesisGuiPanel is set to "MSAA". However, if i turn of multisampling in unity quality settings this will not make a difference on the displayed r...
by Andreas Schooll
26 Feb 2014, 15:14
Forum: General Discussion
Replies: 6
Views: 4981

Re: Scaling of Textbox Caret

Hey, please take a look at the attached picture. In the lower part of the picture there is a textbox which gets (for testing purposes) extremly scaled up. Still the caret appears only in size of 1 pixel. Did you make any changes recently that could have affected this behaviour? We are currently usin...
by Andreas Schooll
25 Feb 2014, 13:21
Forum: General Discussion
Replies: 6
Views: 4981

Scaling of Textbox Caret

Hi guys, we have the following situation. Our unity noesis application main window is made with a wrapping viewbox that contains all other ui elements. The viewbox scales with the window resolution (in a pc standalone app), so all contained elements scale accordingly. Now to the problem: The textbox...
by Andreas Schooll
10 Feb 2014, 16:41
Forum: General Discussion
Replies: 8
Views: 4095

Re: Displaying selected item in databound Combobox

This is exactly what i needed. Thanks a lot.
by Andreas Schooll
10 Feb 2014, 12:23
Forum: General Discussion
Replies: 7
Views: 4417

Re: Measuring the width of a fonts character

Thank you.