Search found 85 matches
- 12 Nov 2018, 18:28
- Forum: General Discussion
- Replies: 3
- Views: 1331
ComboBox caret in IsEditable="True" mode after inputting, the character is set to the preface
Hi,
Noesis C++ v.2.1.0f1
ComboBox caret in IsEditable = "True" mode after inputting, the character is set to the prev char
sorry, I wrote the wrong branch
Noesis C++ v.2.1.0f1
ComboBox caret in IsEditable = "True" mode after inputting, the character is set to the prev char
sorry, I wrote the wrong branch
- 09 Apr 2018, 09:52
- Forum: General Discussion
- Replies: 6
- Views: 2242
Re: C++ data binding with DependencyProperty or with use NsProp and (differences Question)
It looks like there are two ways for databinding (if I understand it right). With NsProp() definition and use class INotifyPropertyChange or use DependencyProperty. When to use one and when to use another? The DependencyProperty way is most used on UserControl without INotifyPropertyChange from tut...
- 28 Mar 2018, 15:32
- Forum: General Discussion
- Replies: 11
- Views: 3312
Re: [C++] Clear resources on collection item remove.
One more sample. Modified version. Changes: * Added UserControl with data binding; * Button Click event process all items manually: while (m_first_ctx->Count()) { m_first_ctx->RemoveAt(0); } m_first_ctx->Clear(); //< have no effect Normal case: Run app, select item and click clear button: all destru...
- 28 Mar 2018, 15:05
- Forum: General Discussion
- Replies: 11
- Views: 3312
Re: [C++] Clear resources on collection item remove.
Wait for another sample. We've got cool stuff to show.
- 28 Mar 2018, 12:08
- Forum: General Discussion
- Replies: 3
- Views: 1375
- 28 Mar 2018, 11:56
- Forum: General Discussion
- Replies: 11
- Views: 3312
Re: [C++] Clear resources on collection item remove.
Sources in attachment which reproduce bug. Two tabs have binding to different collections. Each tab have 5 items. Normal case: Click button and see that all destructors ~MyComponent() called. Bug case: Select an item and click button. Destructor for selected item didn't call. Closing app call destru...
- 23 Mar 2018, 12:30
- Forum: General Discussion
- Replies: 2
- Views: 1083
Re: [C++] ObservableCollection Clear() in Noesis 2.1
Select item in collection, then Clear() collection. Have no destructor call for selected item.
- 23 Mar 2018, 12:28
- Forum: General Discussion
- Replies: 11
- Views: 3312
Re: [C++] Clear resources on collection item remove.
Additional problem.
Have few tabs. First tab have collection with selected item.
Case 1: First tab selected. Close app and have item's destructor call.
Case 2: Second tab selected (first doesn't visible). Close app and have NO destructor call for selected item in collection.
Have few tabs. First tab have collection with selected item.
Case 1: First tab selected. Close app and have item's destructor call.
Case 2: Second tab selected (first doesn't visible). Close app and have NO destructor call for selected item in collection.
- 22 Mar 2018, 13:14
- Forum: General Discussion
- Replies: 3
- Views: 1375
[C++] TextBox caret position from mouse cursor position
Do you have GetCharacterIndexFromPoint() implementation in Noesis?
How can I implement it by myself?
MSDN TextBox.GetCharacterIndexFromPoint()
How can I implement it by myself?
MSDN TextBox.GetCharacterIndexFromPoint()
- 22 Mar 2018, 12:31
- Forum: General Discussion
- Replies: 2
- Views: 1083
[C++] ObservableCollection Clear() in Noesis 2.1
Have a collection in class: Noesis::Ptr<Noesis::ObservableCollection<BasePropertyComponent>> properties = *new Noesis::ObservableCollection<BasePropertyComponent>(); In Noesis 2.0 we have to use properties->Clear() for destroy objects. In Noesis 2.1 Clear() method doesn't call destructor, but next c...