CHANGE FORMAT OF STIRNG
-
dear all if i have : dim s as string="Welcome" and i need to print s, but i need to change the size(18p) and color(Red) of string , but i dont know how please help me to change the format of string
kilany
Mr kilany wrote:
and i need to print s, but i need to change the size(18p) and color(Red) of string , but i dont know how
This is nothing to do with the format of the string. It is all to do with where you want to display the string. So, in order to answer your question we need to know where you want your string displayed.
Upcoming Scottish Developers events: * UK Security Evangelists On Tour (2nd November, Edinburgh) * Developer Day Scotland: are you interested in speaking or attending? My: Website | Blog
-
dear all if i have : dim s as string="Welcome" and i need to print s, but i need to change the size(18p) and color(Red) of string , but i dont know how please help me to change the format of string
kilany
its depend on the where do you want to print this variable. if you r displaying on label then you can set your own format like font name, font size, color etc.:)
Pavan Pareta
-
its depend on the where do you want to print this variable. if you r displaying on label then you can set your own format like font name, font size, color etc.:)
Pavan Pareta
if i have list view as : dim i1 as listviewitem if k=1 i1=new listviewitem("hi") else i1=new listviewitem("hi") end if listview1.item.add(i1) i need in the case (1) if k=1 add to listview hi as red color but if k<> 1 add it to listview1 hi as blue could you help me?
kilany
-
if i have list view as : dim i1 as listviewitem if k=1 i1=new listviewitem("hi") else i1=new listviewitem("hi") end if listview1.item.add(i1) i need in the case (1) if k=1 add to listview hi as red color but if k<> 1 add it to listview1 hi as blue could you help me?
kilany
-
dear all if i have : dim s as string="Welcome" and i need to print s, but i need to change the size(18p) and color(Red) of string , but i dont know how please help me to change the format of string
kilany
Strange question my friend...Strings are no more than a collection of characters, String Data Type do not have format. Display format is applied in visual controls like Labels, TextBoxes, RTFs.... Try creating a new Font object and setting it in the Font property of the visual control. Also, you can edit the font properties of the control in the VS .NET Designer
----------------- Solo hay 10 tipos de personas, las que saben binario y las que no