USUÁRIO:      SENHA:        SALVAR LOGIN ?    Adicione o VBWEB na sua lista de favoritos   Fale conosco 

 

  Fórum

  Visual Basic
Voltar
Autor Assunto:  Filelistbox como ir pro próximo registro?
Regis
não registrado
Postada em 06/10/2004 12:40 hs   
gostaria de saber como faço pra passar pro proximo registro e tambem recuar um registro no Filelistbox ao clicar num botao
     
JDBasic
SIMÃO DIAS
SE - BRASIL
Postada em 06/10/2004 15:52 hs         
Regis aqui vai a rotina para os dois botões Proximo e Anterior
 
Private Sub Proximo_Click()
If File1.ListCount >= 1 Then
For i = 0 To File1.ListCount = File1.ListIndex + 1
File1.ListIndex = File1.ListIndex + 1
Next i
End If
End Sub
 
Private Sub Anterior_Click()
If File1.ListCount >= 1 Then
If File1.ListIndex = 0 Then
File1.ListIndex = File1.ListIndex + 0
Else
File1.ListIndex = File1.ListIndex - 1
End If
End If
End Sub
     
Página(s): 1/1    


Seu Nome:

Seu eMail:

ALTERAR PARA MODO HTML
Mensagem:

[:)] = 
[:P] = 
[:(] = 
[;)] = 

HTML DESLIGADO

     
 VOLTAR

  



CyberWEB Network Ltda.    © Copyright 2000-2025   -   Todos os direitos reservados.
Powered by HostingZone - A melhor hospedagem para seu site
Topo da página