zeljko wrote:
On Tuesday 26 June 2007 02:27, Paul Ishenin wrote:
Tom Gregorovic wrote:
Hi,
what behaviour should have T(Float)SpinEdit.ReadOnly property when set:
(1) disable editing in text box
(2) disable editing in text box and also changing value via arrows

I vote for (1), what do you mean?
If you give no explanation why (1), then I will vote for (2). ReadOnly
means that user can only read value. If user can change value by arrows
then it is not read only. Some coponents even deny changing value
through code (SpinEdit1.Value := ...) in ReadOnly mode.

AFAIK, if some control is ReadOnly that means - no changes via keyboard or mouse (user cannot change value), but code CAN DO that.Never seen control which can be ReadOnly for user (mouse & keyboard) and programmer (code).

I am not voting for readonly in code, I just told that some component use stricter rules. For example some devexpress components.

Best regards,
Paul Ishenin.

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to