Traveling off the beaten paths, dictionaries of exotic languages, missions, Camino de Santiago ... a random list of things you will find on my website. If you are planning to (or you did) travel to Madagascar, South Pacific, especially Wallis, Futuna or Vanuatu, or you want to walk to Santiago, you are welcome to write me. I will be happy to exchange experience with you.
Dominik Maximilián Ramík
New prayers recordings
2014-07-31 in VariousMajor update on my project of recording prayers in different languages. Now 37 languages are present: see the page.
WinForms RichTextBox with paragraph spacing in C#
2014-05-30 in Various
While working on a software project for Collège technique et Lycée de Lowanatom, I have found I needed a RichTextBox in C# WinForms, that is capable of paragraph spacing. Sadly all the forums I visited were saying it is "impossible" or "too difficult". Well ... it appears, that there is a lot of hidden capabilities, that RichTextBox does not expose. After some fiddling, I have ended with a viable solution, which appears to be very simple. The complete custom control code is below. Enjoy and happy coding!
Tip: in order to make the spaces really visible, you will need to set values in orders of hundreds, e.g. 250.
The following links may be of interest:
- CodeProject: Changing the line spacing in a RichTextBox control
- MSDN: PARAFORMAT2 structure
- StackOverflow: Center Justify paragraph in RichTextBox
A short trip to Korea and photos from Espiritu Santo
2014-05-20 in VariousOn the page of my short trips, there is a new trip logged. Destination: South Korea. I put also online a gallery of my recent trip to the north of Vanuatu, to Port Olry on Espiritu Santo.
Older posts ...