Forum > RichMemo

RichMemo.Color behaviour at Runtime

<< < (2/2)

AlexTP:
I cannot understand what happens on your side. maybe small project (in zip) + video can help.
(Linux program Kazam allows to record video)

AgriMensor:
Hi Alextp!
I only have access to Windows 10 and 7. I will try the .exe on 7, but can't easily do so under Linux.
Thanks for your help anyway!
Steve

paweld:
if you use TColorDialog, use the OnColorChanged event instead of OnClick, e.g.

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---procedure TForm1.ColorButton2ColorChanged(Sender: TObject);var  Fred : TColor;begin  Fred := ColorButton2.ButtonColor;  RichMemo1.Color := Fred;end;  

Navigation

[0] Message Index

[*] Previous page

Go to full version