Search found 31 matches

by wyvern010
05 May 2022, 11:38
Forum: General Discussion
Replies: 1
Views: 118

Text Input not working on mac 12.1

Hi, I'm trying to build my app on MacOS and noticed that text input isn't working. I have a TextBox that has some text in it on startup. When i click on it it focus correctly but typing doesn't work and system makes a beeping sound with every keypress. I thought this was maybe caused by my own Windo...
by wyvern010
04 Oct 2021, 14:25
Forum: General Discussion
Replies: 4
Views: 1768

Re: Custom window manager MacOS with multiple windows.

The behaviour of messages seems to be the same on mac as it is in windows. For instance: Only the currently active window gets the user input. Also had to modify Window.cs to actually take ratina display scaling into account which is 2 instead of 1. I did fork the Managed repo (Wyvernius) and change...
by wyvern010
01 Oct 2021, 17:35
Forum: General Discussion
Replies: 4
Views: 1768

Re: Custom window manager MacOS with multiple windows.

I'm now at a point where i can properly open 2 or more windows and close them 1 by 1 and the app will shut down nicely. AppKitDisplay.cs i added: private static int _windowCount = 0; private static NSApplication _app; private static bool _init = false; in the "public AppKitDisplay()" funct...
by wyvern010
29 Sep 2021, 23:48
Forum: General Discussion
Replies: 4
Views: 1768

Custom window manager MacOS with multiple windows.

Hi, I'm making an application that will use multiple windows. I got this working on Windows with my own window manager class. #if NOESIS using Noesis; using NoesisApp; #endif using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace...
by wyvern010
15 Sep 2021, 17:25
Forum: General Discussion
Replies: 2
Views: 3659

Update UI from different thread.

Hi, I'm trying to update the Ui from a different thread. Thought the simplest way todo this would be through the OnPropertyChanged function like so: protected void OnPropertyChanged([CallerMemberName] string name = null) { if (Dispatcher.CurrentDispatcher.CheckAccess()) PropertyChanged?.Invoke(this,...
by wyvern010
27 Jul 2021, 12:02
Forum: General Discussion
Replies: 3
Views: 9092

Re: WebGL won't build with 3.1.0rc1

The issue is fixed in rc2.

Thanks for the quick repsonse!
by wyvern010
24 Jul 2021, 17:46
Forum: General Discussion
Replies: 3
Views: 9092

WebGL won't build with 3.1.0rc1

HI, I updated noesis from 3.0.12 to the latest 3.1.0rc1. And when i build WebGL i get the following errors: Failed running "D:/Unity/2020.3.14f1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\Emscripten_Win\python\2.7.5.3_64bit\python.exe" -E "D:/Unity/2020.3.14f1/Editor/Data/Pla...
by wyvern010
16 Dec 2019, 12:56
Forum: Showcase Gallery
Replies: 1
Views: 13485

DateTimePicker

Created my own DateTimePicker: https://i.ibb.co/gMjMwPZ/Noesis-Date-Time-Picker.png xaml: <UserControl x:Class="AgendaBilling.CustomControls.DateTimePicker" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xam...
by wyvern010
16 Dec 2019, 12:40
Forum: General Discussion
Replies: 7
Views: 1547

Re: Is there a chart library available for Noesis?

off-topic:
Could we create a sticky where people can post there custom controls (source only)?
Wich are not yet in Noesis?

For example:
I created a DateTimePicker, and i would be happy to share it with anyone that uses noesis.

#nevermind: we have the showcase
by wyvern010
17 Nov 2019, 16:18
Forum: General Discussion
Replies: 18
Views: 10348

Re: The calling thread cannot access this object because a different thread owns it.

I also ran in some of these issues when updating the ViewModel from outside the rendering thread. Here is my fix, although i think there should be a better way. Note that i'm not using Unity, but Dispatcher is not available in the Noesis App framework. I use the below patern: Save to List -> OnRende...