Hola.
No hice la prueba pero, tomando en cuenta el código que has puesto y lo que dice la propia ayuda de Developer Express, sería algo así:
Código Delphi
[-]Uses
cxSpinEdit;
Begin
...
Vista.Columns [Index].PropertiesClass := TcxSpinEditProperties;
Por otro lado, si piensas establecerle a esas columnas varias características en común, en su propiedad Properties, considera el uso de los "depósitos de editores".
Cita:
Empezado por ayuda de DevExpress
You can assign a particular editor to edit the contents of item cells in two ways. The first is to set the PropertiesClass member. The second is to assign a repository item to the RepositoryItem property. If an editor is assigned via RepositoryItem, the values of the Properties and PropertiesClass members are ignored.
Assigning PropertiesClass results in creating a Properties object with settings specific to the corresponding editor. Do not create Properties directly. Use PropertiesClass instead. The Properties object allows you to adjust editor properties once created.
At design time, you can select an editor for the item from the dropdown list invoked via the Properties item in the Object Inspector.
|
Saludos.
Al González.