Leandro, Coloque o seguinte código na sua tabela: On SAM_CaptionDoubleClick Call SalWaitCursor( TRUE ) If m_n_UltimaColuna != wParam Set m_n_Ordenacao = 1 Set m_n_UltimaColuna = wParam Else If m_n_Ordenacao = 0 Set m_n_Ordenacao = 1 Else Set m_n_Ordenacao = 0 Call SalTblSortRows( hWndForm, SalTblQueryColumnID( SalNumberToWindowHandle( wParam ) ), m_n_Ordenacao ) Call SalWaitCursor( FALSE ) Este código serve para ordernar, crescente ou decrescente, qualquer coluna da tabela, utilizando um Duplo Click no header. Sds, Erasmo --
Leandro Neves wrote: Pessoal, |
- [sqlwin] Classifcar dados em uma table window Leandro Neves
- Re: [sqlwin] Classifcar dados em uma table window Thiago Aranha
- Re: [sqlwin] Classifcar dados em uma table window Erasmo
- Re: [sqlwin] Classifcar dados em uma table window Lairton Júnior
- Re: [sqlwin] Classifcar dados em uma table window Marcelo Guimarães