Visual Basic - MSFlexGrid

Life is soft - evento anual de software empresarial
 
Vista:

MSFlexGrid

Publicado por Itziar (13 intervenciones) el 01/04/2005 18:04:14
Hola a tod@s:
Me gustaria saber como puedo hacer para ordernar un MSFlexGrid por una columna determinada.

Un Saludo
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:MSFlexGrid

Publicado por miguel (1042 intervenciones) el 01/04/2005 18:23:55
Prueba con esto:
Private Sub MSFlexGrid1_Click()
If MSFlexGrid1.TopRow = 1 And MSFlexGrid1.RowSel = MSFlexGrid1.Rows - 1 Then
If MSFlexGrid1.Col = 1 Then 'Para Valores Numericos
MSFlexGrid1.Sort = flexSortNumericDescending
End If
If MSFlexGrid1.Col = 0 Then 'Para Tipo String
MSFlexGrid1.Sort = flexSortStringAscending
End If
End If

End Sub
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar