Jump to content

duvida com separadores no vb


rjsma
 Share

Recommended Posts

😛

Já suspeitava que tivesses de ser tu a desenhar esse tipo de alterações, uma vez que a classe TabPage nem a própria TabControl o permite.

Clica na carinha na primeira linha e é logo o primeiro link 😄

Sérgio Ribeiro


"Great coders aren't born. They're compiled and released"
"Expert coders do not need a keyboard. They just throw magnets at the RAM chips"

Link to comment
Share on other sites

TabControl1.Dock = DockStyle.Fill
TabControl1.DrawMode = TabDrawMode.OwnerDrawFixed
TabControl1.TabPages.Clear()
'”
'eu ponho este codigo na minha form e da me erro
TabControl1.TabPages.Add(“TAB 1″) ' - aqui - diz que string constants must end with a double quote
TabControl1.TabPages.Add(“TAB 2″) ' - aqui
TabControl1.TabPages.Add(“TAB 3″) ' - aqui
TabControl1.TabPages.Add(“TAB 4″) ' - aqui
'”
TabControl1.TabPages(0).BackColor = Color.Coral
TabControl1.TabPages(1).BackColor = Color.LightYellow
TabControl1.TabPages(2).BackColor = Color.PowderBlue
TabControl1.TabPages(3).BackColor = Color.LightGreen

cumps

Link to comment
Share on other sites

Isso é porque não são essas aspas que delimitam uma string.

Faz por não te esquecer de usar a combobox no canto superior direito e escolher a linguagem de programação no código seleccionado.

Só ao fazer isso, notas logo com o "mini-parser" que as strings não ficam com a cor delas.

“Isto“
'é diferente
"de isto, ou não é ?"

Sérgio Ribeiro


"Great coders aren't born. They're compiled and released"
"Expert coders do not need a keyboard. They just throw magnets at the RAM chips"

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.