Posts by Moonslate • 88 points
4 posts
-
0
votes1
answer26
viewsA: How to create a user-defined amount of objects?
Cannot create statically allocated array using a non-constant size (not known at compile time). Correct means of declaring an array: char array[5]; const size_t amount = 10; char array[amount];…
-
0
votes1
answer42
viewsQ: Edittext.Selectionchanged event on Android
I need this event you have in Windows Forms: private void richTextBox_SelectionChanged(object sender, EventArgs e) { } Only for Xamarin, on Android. Note that I’m not using cross-Platform app. I can…
-
2
votes2
answers3064
viewsA: Swap line break " n" for " r n" in Richtextbox
I decided to change the RichTextBox by a TextBox.
-
5
votes2
answers3064
viewsQ: Swap line break " n" for " r n" in Richtextbox
I have a RichTextBox that needs to count the breaks of lines as "\r\n", but she’s counting as "\n". Example: "Hello, (User squeezes Enter)world!" To RichTextBox interpret like this: "Olá," + "\n" +…