CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

SpinEdit and StateChangeOperation

by rhazell43 » 15 Dec 2013 23:04

Hello,

I'm sing a TIWCGJQSpinEdit with StateChangeOperation = scoReadOnly... When the the DataSet in Browse mode the edit portion of the control behaves properly (ie readonly), however, the user can still modify the value by clicking on the up/down arrows.

IW 12.2.23
CG 1.8.0.3232

Code: Select all
            object edtTypeMinAcceptPC: TIWCGJQSpinEdit
              Left = 138
              Top = 58
              Width = 50
              Height = 21
              TabOrder = 10
              Font.Color = clNone
              Font.Enabled = False
              Font.Size = 10
              Font.Style = []
              Version = '1.0'
              DataLink.DataSource = dsDetail
              DataLink.FieldName = 'TypeMinAcceptPC'
              DataLink.StateChangeOperation = scoReadOnly
              Enabled = False
              ScriptEvents = <>
              JQSpinOptions.Min = 0
              JQSpinOptions.Max = 100
              Value = 80.000000000000000000
            end
rhazell43
 
Posts: 80
Joined: 29 Apr 2013 08:27

by Alexander Bulei » 16 Dec 2013 12:50

rhazell43 wrote:Hello,

I'm sing a TIWCGJQSpinEdit with StateChangeOperation = scoReadOnly... When the the DataSet in Browse mode the edit portion of the control behaves properly (ie readonly), however, the user can still modify the value by clicking on the up/down arrows.

IW 12.2.23
CG 1.8.0.3232

Code: Select all
            object edtTypeMinAcceptPC: TIWCGJQSpinEdit
              Left = 138
              Top = 58
              Width = 50
              Height = 21
              TabOrder = 10
              Font.Color = clNone
              Font.Enabled = False
              Font.Size = 10
              Font.Style = []
              Version = '1.0'
              DataLink.DataSource = dsDetail
              DataLink.FieldName = 'TypeMinAcceptPC'
              DataLink.StateChangeOperation = scoReadOnly
              Enabled = False
              ScriptEvents = <>
              JQSpinOptions.Min = 0
              JQSpinOptions.Max = 100
              Value = 80.000000000000000000
            end


Hi Rick,

Thanks for reporting, you are right, the jquery plugin doesn't support/respect the readonly.

Added/Fixed in V1.8.0.3236.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal


Return to JQSpinEdit

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.