473,503 Members | 1,760 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Is this a bug or a feature?

In a label control, this text string will wrap: "abcdefg/ abcdefq/
abcdefghi/ abcdefgh"

In a label control, this text string will not wrap: "abcdefg /abcdefq
/abcdefghi /abcdefgh"

When followed by a symbol, spaces are treated as non-breaking spaces. Is
this a feature or a bug? Is there some character combination that will force
a breaking space when followed by a symbol?

Thanks,

Keith

Nov 15 '06 #1
4 1104
Do you want a breaking space or a non-breaking space?
The HTML entity for non-breaking space is

You get a line break with the HTML <br/tag.

Peter
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Keithb" wrote:
In a label control, this text string will wrap: "abcdefg/ abcdefq/
abcdefghi/ abcdefgh"

In a label control, this text string will not wrap: "abcdefg /abcdefq
/abcdefghi /abcdefgh"

When followed by a symbol, spaces are treated as non-breaking spaces. Is
this a feature or a bug? Is there some character combination that will force
a breaking space when followed by a symbol?

Thanks,

Keith

Nov 15 '06 #2
The problem is that what is supposed to be a breaking space is being
interpreted as a non-breaking space. How can I correct this?

Thanks,

Keith
"Peter Bromberg [C# MVP]" <pb*******@yahoo.nospammin.comwrote in message
news:0D**********************************@microsof t.com...
Do you want a breaking space or a non-breaking space?
The HTML entity for non-breaking space is

You get a line break with the HTML <br/tag.

Peter
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Keithb" wrote:
>In a label control, this text string will wrap: "abcdefg/ abcdefq/
abcdefghi/ abcdefgh"

In a label control, this text string will not wrap: "abcdefg /abcdefq
/abcdefghi /abcdefgh"

When followed by a symbol, spaces are treated as non-breaking spaces. Is
this a feature or a bug? Is there some character combination that will
force
a breaking space when followed by a symbol?

Thanks,

Keith


Nov 15 '06 #3
Sorry, but my entity for nonbreaking space got--
turned into a nonbreaking space!

That was & n b s p ; (without the spaces in betwee)

If you put a <brtag in the string that is being assigned to the Label's
Text property, it should create a linefeed (a new line), if that's what you
want.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Keithb" wrote:
The problem is that what is supposed to be a breaking space is being
interpreted as a non-breaking space. How can I correct this?

Thanks,

Keith
"Peter Bromberg [C# MVP]" <pb*******@yahoo.nospammin.comwrote in message
news:0D**********************************@microsof t.com...
Do you want a breaking space or a non-breaking space?
The HTML entity for non-breaking space is

You get a line break with the HTML <br/tag.

Peter
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Keithb" wrote:
In a label control, this text string will wrap: "abcdefg/ abcdefq/
abcdefghi/ abcdefgh"

In a label control, this text string will not wrap: "abcdefg /abcdefq
/abcdefghi /abcdefgh"

When followed by a symbol, spaces are treated as non-breaking spaces. Is
this a feature or a bug? Is there some character combination that will
force
a breaking space when followed by a symbol?

Thanks,

Keith



Nov 15 '06 #4
On Wed, 15 Nov 2006 10:17:27 -0800, "Keithb" <no*****@dslextreme.com>
wrote:
>In a label control, this text string will wrap: "abcdefg/ abcdefq/
abcdefghi/ abcdefgh"

In a label control, this text string will not wrap: "abcdefg /abcdefq
/abcdefghi /abcdefgh"

When followed by a symbol, spaces are treated as non-breaking spaces. Is
this a feature or a bug? Is there some character combination that will force
a breaking space when followed by a symbol?
This appears to not be limited to the label element. Perhaps you
meant the .Net label control, but even still, it seems to apply
anywhere in HTML. However, not any non-char causes it.
Some that don't: @['"#
Some that do: /,;.

I couldn't find anything at http://www.w3.org/ about it.
Nov 16 '06 #5

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

Similar topics

3
1739
by: dayzman | last post by:
Hi, I've read somewhere that feature-based analysis can be used to extract the semantic structure of HTML documents. By semantic structure, they mean the model of the rendered view a reader...
5
1488
by: scsharma | last post by:
Hi, I am using .Net on Windows XP Professional. I am facing a unique problem with visual studio where intellisense feature is getting turned off. If i close IDE and reopen my solution the...
4
2087
by: christopher diggins | last post by:
A feature that I find signficantly missing in C# is the ability to write functions in interfaces that can call other functions of the interface. Given an interface ISomeInteface the only way we can...
18
1632
by: Kamen Yotov | last post by:
hi all, i first posted this on http://msdn.microsoft.com/vcsharp/team/language/ask/default.aspx (ask a c# language designer) a couple of days ago, but no response so far... therefore, i am...
7
3371
by: Russell Mangel | last post by:
I was thinking about what IDE feature I would want the most in the next version of VC++? I would definately ask for the C# feature: #region / #endregion. In my opinion this feature was a...
30
3272
by: Raymond Hettinger | last post by:
Proposal -------- I am gathering data to evaluate a request for an alternate version of itertools.izip() with a None fill-in feature like that for the built-in map() function: >>> map(None,...
12
2065
by: Raymond Hettinger | last post by:
I am evaluating a request for an alternate version of itertools.izip() that has a None fill-in feature like the built-in map function: >>> map(None, 'abc', '12345') # demonstrate map's None...
12
1660
by: =?Utf-8?B?RGFyYSBQ?= | last post by:
Would like to know from the crowd that why do we require a Partial Class. By having such feature aren't we going out of the scope of Entity Concept. Help me to understand in what context this...
20
1538
by: Luke R | last post by:
One thing i used to use alot in vb6 was that tiny little button in the bottom left of the code window which allowed you to view either the whole code file, or just the function/sub you are currenly...
10
3233
by: Conrad Lender | last post by:
In a recent thread in this group, I said that in some cases object detection and feature tests weren't sufficient in the development of cross-browser applications, and that there were situations...
0
7199
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7076
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
7323
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...
1
6984
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7453
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
5576
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,...
1
5005
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...
0
3162
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
377
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.