473,407 Members | 2,306 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Another Question

I feel very sorry that I am not good at English.
My question is ,how can I input diffrent kinds of font in
One Label Control? Some friends suggest me to use RichText
Control instead.But,The problem is,If I used that
Control,I can't prevent the Users who use my programs from
changing its Text.I mean ,I want to Lock the RichText
Control just like Locking the Text Control in VB6.What can
I do?Though RichText Control have its own Lock
property,its bgColor will be gray when the Lock property
is enabled.
Thank you very much for help me !
Best Regards.
Yours Menu Chen

Nov 20 '05 #1
7 917
i don't think its possible to use different fonts in 1 normal label, you
could probbably create your own label but that might go to far.
the richtext seems the best option,
if you set the readonly property to true and adjust the border style and
back color you can have it behaving like a label.

hope it helps

eric

"Menu Chen" <an*******@discussions.microsoft.com> wrote in message
news:2e****************************@phx.gbl...
I feel very sorry that I am not good at English.
My question is ,how can I input diffrent kinds of font in
One Label Control? Some friends suggest me to use RichText
Control instead.But,The problem is,If I used that
Control,I can't prevent the Users who use my programs from
changing its Text.I mean ,I want to Lock the RichText
Control just like Locking the Text Control in VB6.What can
I do?Though RichText Control have its own Lock
property,its bgColor will be gray when the Lock property
is enabled.
Thank you very much for help me !
Best Regards.
Yours Menu Chen

Nov 20 '05 #2
Cor
Hi EricJ,

Goodmorning.

I saw a question from Tom Leylan in this newsgroup some lines below, that is
typical something for you I thought, it looks if he has a solution, but I
think it is not.

Cor
Nov 20 '05 #3
the server explorer thing? (w one do you mean?)
good morning to you 2 ;)
eric
"Cor" <no*@non.com> wrote in message
news:Ok**************@TK2MSFTNGP12.phx.gbl...
Hi EricJ,

Goodmorning.

I saw a question from Tom Leylan in this newsgroup some lines below, that is typical something for you I thought, it looks if he has a solution, but I
think it is not.

Cor

Nov 20 '05 #4
Cor
Yes I thought you had short time real time expirience with it
Nov 20 '05 #5
i have an enterprise manager

but i'm afraid evertithing is said there
the things you can do w the server explorer depend on w version of visual
studio you have, maybe i could point him to access? (ill read the tread
again ;)

"Cor" <no*@non.com> wrote in message
news:ec**************@TK2MSFTNGP09.phx.gbl...
Yes I thought you had short time real time expirience with it

Nov 20 '05 #6
I am sorry to say that RichText Control hasn't got a
Readonly property.
Thank you all the same.
Nov 20 '05 #7
* "Menu Chen" <an*******@discussions.microsoft.com> scripsit:
I am sorry to say that RichText Control hasn't got a
Readonly property.


The RichTextBox has a 'ReadOnly' property (in the 'Behavior' category).

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>

<http://www.plig.net/nnq/nquote.html>
Nov 20 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: fig000 | last post by:
Hi, I'm relatively new to Javascript so please bear with me on what might sound like silly questions. This is what I want to do: I'm working in classic asp (I have to for this project). I...
6
by: anon | last post by:
Post Forwarding question...... For this control below, <asp:Button runat="server" PostTargetUrl="page2.aspx" /> The Attribute: PostTargetUrl="page2.aspx" Is this PostTargetUrl Attribute...
2
by: terence.parker | last post by:
I am often faced with the dilemma of whether to use a JOIN query across three tables in order to grab a bunch of results - or whether to create another table to represent what I want. The latter is...
0
by: Sebastian Hiller | last post by:
Hello, i'm new to .Net (i'm using VB as language and i'm working in the code-behind mode) and i can't solve the following problem: I have a WebForm and want to Add a UserControl...
3
by: Brad | last post by:
I have another hopefully simple question. I am so used to writing VB .Net windows apps that there are some things in ASP .Net that just does not easily cross over. I know how to pass variables to...
27
by: Javier Martinez | last post by:
Hi I have asp application in a machine with a virtual directory referring a shared directory in another machine When I try to load any aspx page of my portal I get the following error: ...
17
by: Eric_Dexter | last post by:
def simplecsdtoorc(filename): file = open(filename,"r") alllines = file.read_until("</CsInstruments>") pattern1 = re.compile("</") orcfilename = filename + "orc" for line in alllines: if not...
24
by: David Mathog | last post by:
On a Solaris 8 system if a user "joe" logs in, for instance via ssh, cuserid() returns "joe". That's the expected behavior and so far so good. However if that user then does: % su - sally ...
13
by: shookim | last post by:
I don't care how one suggests I do it, but I've been searching for days on how to implement this concept. I'm trying to use some kind of grid control (doesn't have to be a grid control, whatever...
4
by: MichaelK | last post by:
Hello. I have all data already collected on the current page? I want to open another window with the form, fill the fields and submit that form. So basically the question is how can I fill all...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.