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

 

  Fórum

  Visual Basic
Voltar
Autor Assunto:  ALINHAMENTO LIST
Rochª
Pontos: 2843 Pontos: 2843 Pontos: 2843
RIO DE JANEIRO
RJ - BRASIL
ENUNCIADA !
Postada em 08/03/2005 16:19 hs            
tente
 

' Fixa uma string com um tamanho
' c_alinhamento = 1 Direira
'                 0 Esquerda
Function STR_FIXO(str_aux As String, tamanho As Integer) As String
    On Error Resume Next
    If tamanho > Len(str_aux) Then
        If c_alinhamento = 1 Then
            str_aux = String(tamanho - Len(str_aux), " ") + str_aux
        Else
            str_aux = str_aux + String(tamanho - Len(str_aux), " ")
        End If
    End If
   
    STR_FIXO = Mid(str_aux, 1, tamanho)
End Function
 
Melhor colocar o c_ali... como parametro

__________________________________________________________________________
Qualquer coisa post
 
Emoções
Rochª
   
Página(s): 2/2     « ANTERIOR  


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