Search found 3053 matches
- 19 Apr 2021, 16:30
- Forum: General Discussion
- Replies: 2
- Views: 27
Re: Base class BaseComponent is ambiguous C++
Multiple inheritance is only supported for interfaces. You can't inherit from two concrete classes and use reflection in Noesis, at least by default. The are ways to do it, but you really need to master C++ and Noesis. Have you considered using the C# API? It gives me the impression that it should b...
- 19 Apr 2021, 16:28
- Forum: General Discussion
- Replies: 2
- Views: 31
Re: Events in C++
Events Tutorial
Please, read carefully the tutorial to connect to any event exposed in XAML.Or maybe how I can reach KeyDown/Up events if my class is inheriting NoesisApp::NotifyPropertyChangedBase?
- 17 Apr 2021, 12:16
- Forum: General Discussion
- Replies: 1
- Views: 44
Re: What does NS_BEGIN_COLD_REGION do
We use this macro to mark blocks of code that should be explicitly optimized for size. They are used when implementing the reflection of each class, because even if you are optimizing for speed, the reflection is only executed once and it doesn't make sense to optimize that for speed. This is a poor...
- 14 Apr 2021, 14:02
- Forum: General Discussion
- Replies: 4
- Views: 28
Re: Grid view in C++
Yes, make sure you are including the corresponding headers or just use the PCH header that includes everything.
- 14 Apr 2021, 12:50
- Forum: General Discussion
- Replies: 4
- Views: 28
Re: Grid view in C++
Being Grid a Panel , you need to use its Children Property: Ptr<UserControl> userControl = MakePtr<TabControlMenu>(); grid->GetChildren()->Add(userControl); And in case you need to set row and column: Grid::SetColumn(userControl, x); Grid::SetRow(userControl, y); Please, note that the way you were c...
- 14 Apr 2021, 12:37
- Forum: General Discussion
- Replies: 6
- Views: 51
Re: DataTemplate creation in code
I decided to do my own little framework. However I immediately ran into problems again, and one is related to the issues I had with caliburn. Parsing XAML. But there's also another question that needs solving. Our development is fully based on the feedback from our clients. It is true that we have ...
- 14 Apr 2021, 12:32
- Forum: General Discussion
- Replies: 4
- Views: 37
Re: project setup question
Hi Sam, I sent you an email to further discuss this.
- 12 Apr 2021, 11:17
- Forum: General Discussion
- Replies: 3
- Views: 40
Re: Implicit DataTemplates
Please, open a bug report if you hit this again. Thanks
- 12 Apr 2021, 11:16
- Forum: General Discussion
- Replies: 4
- Views: 41
Re: Assigning view to NoesisView in code
Edit: I just confirmed this, In "InstallBindings" of a Zenject MonoInstaller this all doesn't seem to be initialized yet. Maybe that's also the cause of the crash. Zenject might set its scriptexecution order very low so calling this stuff early might cause Noesis to crash the editor and Content to ...
- 08 Apr 2021, 12:30
- Forum: General Discussion
- Replies: 21
- Views: 206
Re: Getting Started with C++
Are you able to reproduce this on XamlPlayer (included in the SDK) or XamlToy?Do u know why my ListBox displays only last item?