Ver Mensaje Individual
  #4  
Antiguo 20-02-2012
Avatar de Al González
[Al González] Al González is offline
In .pas since 1991
 
Registrado: may 2003
Posts: 5.604
Reputación: 30
Al González Es un diamante en brutoAl González Es un diamante en brutoAl González Es un diamante en brutoAl González Es un diamante en bruto
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.
Responder Con Cita