---------------------------------------------------------------------------
| 1836 | } |
| 1837 | //--------------------------------------------------------------------------- |
| 1838 | void ColorBoxRus(TColorBox * p) |
| 1839 | { |
| 1840 | // TColorBox �� ��������� �� �������� ����� Scaled = true |
| 1841 | // �� ������� ������� ������ TColorBox �� ����������, � ����� |
| 1842 | // ���������� ������� ! |
| 1843 | // ������� ��� ���������: |
| 1844 | int rh = p->Canvas->TextHeight("���"); |
| 1845 | p->ItemHeight = rh + rh / 2; |
| 1846 | |
| 1847 | for(int i=0; i<p->Items->Count; i++) |
| 1848 | { |
| 1849 | if( i==0 && p->Items->Strings[i] == "Custom..." ) |
| 1850 | { |
| 1851 | p->Items->Strings[i] = "�����..."; |
| 1852 | continue; |
| 1853 | } |
| 1854 | String s = GetColorNameRus((TColor)(int)p->Items->Objects[i]); |
| 1855 | if( s.Length() > 0 ) |
| 1856 | p->Items->Strings[i] = s; |
| 1857 | } |
| 1858 | } |
| 1859 | //--------------------------------------------------------------------------- |
| 1860 | void MySetLocalTime(TDateTime t) |
| 1861 | { |
nothing calls this directly
no test coverage detected