Este fórum está sendo desativado

Depois de 9 anos, este fórum será desativado. Mas calma.... estamos migrando para uma comunidade no DISCORD. Junte-se a nós.

ENTRAR PARA DISCORD

Tópicos relacionados a códigos VBA, gravação de macros, etc.
  • Avatar do usuário
Por AngeloGums
#15532
Olá a todos, é a minha primeira vez no fórum,
Eu tenho um Formulário com um MultiPage1, e o mesmo com 4 abas, Tem como eu por em Negrito titulo (Caption) da Aba que eu for ativar ou que esteja ativa?
Obrigado.
Avatar do usuário
Por Basole
Posts Avatar
#15561
Altere a propriedade "Font" para negrito, do MultiPage.

Ou insira os dados da propriedade no evento Initialize do userform:
Ex.:
Código: Selecionar todos
Private Sub UserForm_Initialize()

    With MultiPage1.Font
        .Name = "Arial"
        .Size = 11
        .Bold = True
    End With
     
End Sub
Agora se voce quer Alterar a fonte para negrito, somente uma Page (pagina) especifica, não é possivel.
A saida seria, voce alterar a Propriedade Style, da Multipage para "fmTabStyleNone" ou seja sem Tab (sem abas),
e em seguida voce crie seus Botoes para subtituir as abas e no botao especifico voce altera para Negrito.
Código: Selecionar todos
Private Sub UserForm_Initialize()

With MultiPage1
.Style = fmTabStyleNone
   End With
     
End Sub 
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]

Estamos migrando para uma comunidade no Discord