how can i change the font style,size,color...using of 2 objects which

how can i change the font appearance using Textbox and Command Button

Page 1 of 1

5 Replies - 6458 Views - Last Post: 01 December 2007 - 09:07 PM Rate Topic: -----

#1 lzaero  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 28
  • Joined: 13-September 07

how can i change the font style,size,color...using of 2 objects which

Post icon  Posted 30 November 2007 - 12:54 AM

help me please.....
Is This A Good Question/Topic? 0
  • +

Replies To: how can i change the font style,size,color...using of 2 objects which

#2 Louisda16th  Icon User is offline

  • dream.in.assembly.code
  • member icon

Reputation: 15
  • View blog
  • Posts: 1,967
  • Joined: 03-August 06

Re: how can i change the font style,size,color...using of 2 objects which

Posted 30 November 2007 - 05:40 AM

Firstly, never post your question in the title. It makes things difficult.
I haven't understood your question correctly. Do you want to change the font, color, etc.. of a textbox or do you want to have two words/sentences of different color in the same textbox. If the first thing is what you want, you'll get everything in textbox.Font:
'***Examples***
Text1.Font.Name = "arial"
Text1.Font.Bold = True
Text1.Font.Size = "16"
Text1.Font.Underline = True
Text1.Font.Italic = True



The latter is possible only with RichTextBoxes.

This post has been edited by Louisda16th: 30 November 2007 - 05:50 AM

Was This Post Helpful? 0
  • +
  • -

#3 lzaero  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 28
  • Joined: 13-September 07

Re: how can i change the font style,size,color...using of 2 objects which

Posted 30 November 2007 - 06:55 PM

View PostLouisda16th, on 30 Nov, 2007 - 05:40 AM, said:

Firstly, never post your question in the title. It makes things difficult.
I haven't understood your question correctly. Do you want to change the font, color, etc.. of a textbox or do you want to have two words/sentences of different color in the same textbox. If the first thing is what you want, you'll get everything in textbox.Font:
'***Examples***
Text1.Font.Name = "arial"
Text1.Font.Bold = True
Text1.Font.Size = "16"
Text1.Font.Underline = True
Text1.Font.Italic = True



The latter is possible only with RichTextBoxes.


thanks alot Louisda16th for sharing me your knowledge about this...and by the way how could be appear the font style,size,color and etc..i mean you can choose the appearance of the font, of what you want to display?
Was This Post Helpful? 0
  • +
  • -

#4 Louisda16th  Icon User is offline

  • dream.in.assembly.code
  • member icon

Reputation: 15
  • View blog
  • Posts: 1,967
  • Joined: 03-August 06

Re: how can i change the font style,size,color...using of 2 objects which

Posted 01 December 2007 - 08:24 AM

Im sorry. I did not understand your question. Do you want to know how to select a Font Style?
Was This Post Helpful? 0
  • +
  • -

#5 lzaero  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 28
  • Joined: 13-September 07

Re: how can i change the font style,size,color...using of 2 objects which

Posted 01 December 2007 - 07:09 PM

View PostLouisda16th, on 1 Dec, 2007 - 08:24 AM, said:

Im sorry. I did not understand your question. Do you want to know how to select a Font Style?


yes thats it Louisda16th do you have any idea of that?....and by the way thank you very much.....can i have your ym?
Was This Post Helpful? 0
  • +
  • -

#6 Louisda16th  Icon User is offline

  • dream.in.assembly.code
  • member icon

Reputation: 15
  • View blog
  • Posts: 1,967
  • Joined: 03-August 06

Re: how can i change the font style,size,color...using of 2 objects which

Posted 01 December 2007 - 09:07 PM

text1.font.name = <put font style here>


Was This Post Helpful? 0
  • +
  • -

Page 1 of 1