How to set custom ticks on a TTrackBar in Delphi 2010?
-
23-09-2019 - |
문제
I tried to set the tick style to tsManual, the min and max position to 1 and 100 respectively and add ticks at 9, 19, 79 and 89 and no ticks are shown at all except the detault first and last which the control automatically shows. I tried other values and none are ever shown. My code is:
TrackBar1.TickStyle := tsManual;
TrackBar1.Min := 1;
TrackBar1.Max := 100;
TrackBar1.SetTick( 9 );
TrackBar1.SetTick( 19 );
TrackBar1.SetTick( 79 );
TrackBar1.SetTick( 89 );
Any suggestions? I'm sure I'm missing an important detail, and the documentation is pretty sparse. This is on a new empty VCL Forms project in Delphi 2010 with update 4.
Thank you in advance.
해결책
이 문제에 대한 해결책을 찾았습니다.
사이트 정의 (14 및 15)의 두 버전이 모두 존재해야합니다. 업그레이드를 수행 할 때 각각의 하이브.어느 쪽이든 경우 그것들이 결석되어 오류가 나타납니다.
자세한 내용은 여기를 참조하십시오. http://sharepointnadeem.blogspot.com/2014/01./sharepoint-following-sites-are-using.html
다른 팁
fwiw.
FIPS가 활성화 된 STIG 요구 사항으로 밝혀졌습니다.FIPS를 사용하지 않으면 인프라를 게시하지 않고도 깨끗한 사이트였던 한 사이트를 템플릿으로 저장할 수있었습니다.
Besides the handle
being ready and the TickStyle
= tsManual
, the frequency
property must be set to a multiple or, more easily, to 1.