aliemre Posted January 3, 2018 Share Posted January 3, 2018 Merhaba, DateTimePicker ın Kind özelliği runtime da değiştirilemiyor. Bir sakıncası yoksa bu sorunu çözebilir misiniz ? procedure TUniCustomDateTimePicker.SetKind(Value: TUniDateTimeKind); begin if Supports(VCLProxy, IUniDateTimePicker) then (VCLProxy as IUniDateTimePicker).SetKind(Value); if IsLoading then FKind := Value; end; Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted January 3, 2018 Share Posted January 3, 2018 Merhaba Tasarım özelliği gereği kind sonradan değiştirilemez. DateMode özelliği ekledik. Onu inceleyebilirsiniz. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted January 3, 2018 Administrators Share Posted January 3, 2018 Merhaba, DateTimePicker ın Kind özelliği runtime da değiştirilemiyor. Bir sakıncası yoksa bu sorunu çözebilir misiniz ? procedure TUniCustomDateTimePicker.SetKind(Value: TUniDateTimeKind); begin if Supports(VCLProxy, IUniDateTimePicker) then (VCLProxy as IUniDateTimePicker).SetKind(Value); if IsLoading then FKind := Value; end; Bu bir sorun olarak algılanmamalı. Kind özelliği DatePicker'in ilk baştaki tasarımını etkiliyor. Yani kaç alt-bileşen içereceğini baştan bilmesi gerekiyor ki ona göre komponent yaratılsın. Komponent yaratıldıktan sonra bu tasarımı değiştirmek mümkün değildir. Bu sebepten uniGUI'de pek çok property runtime'da değiştirilemiyor. Quote Link to comment Share on other sites More sharing options...
Freeman35 Posted January 3, 2018 Share Posted January 3, 2018 @Farşad Öneri: Bu gibi özellik(ler) help e eklenebilr mi? readonly vs gibi bilgiler, her property için belirtilebilinir. Kolay gele Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.