473,406 Members | 2,217 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,406 software developers and data experts.

Anchor Property error

Hello,
When I try to change the Anchor property of a textbox, from "Top, Left" to
all four sides I get an "Invalid Property Value" Error. The details state
"Cannot widen from target type to primative Type".

Thanks in advance.
TW Scannell
Nov 20 '05 #1
4 1164
"TW Scannell" <tw********@hotmail.com> schrieb
Hello,
When I try to change the Anchor property of a textbox, from "Top,
Left" to all four sides I get an "Invalid Property Value" Error. The
details state "Cannot widen from target type to primative Type".


I can not reproduce this problem (VB 2003, Framework 1.1, WinXP Prof)
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #2
Hmm. I am using VB.Net 2003 Standard edition, on Win 2000 Server

Probably another problem with the Standard edition. What a POS

Thanks
"TW Scannell" <tw********@hotmail.com> wrote in message
news:ui**************@tk2msftngp13.phx.gbl...
Hello,
When I try to change the Anchor property of a textbox, from "Top, Left" to
all four sides I get an "Invalid Property Value" Error. The details state
"Cannot widen from target type to primative Type".

Thanks in advance.
TW Scannell

Nov 20 '05 #3
It might be that you have the Multiline Property set to false, when set to
false a textbox's hieght can't be adjusted.

I haven't tried it thought just thought I'dd throw it out as a suggestion.
"TW Scannell" <tw********@hotmail.com> wrote in message
news:ui**************@tk2msftngp13.phx.gbl...
Hello,
When I try to change the Anchor property of a textbox, from "Top, Left" to
all four sides I get an "Invalid Property Value" Error. The details state
"Cannot widen from target type to primative Type".

Thanks in advance.
TW Scannell

Nov 20 '05 #4
I tried the same thing with the full/earlier version and got the same error.
It is on a different machine. It is the MN Dev Environment 2002 version
7.0.9466

Maybe it's a Win2000 server thing.
"TW Scannell" <tw********@hotmail.com> wrote in message
news:ui**************@tk2msftngp13.phx.gbl...
Hello,
When I try to change the Anchor property of a textbox, from "Top, Left" to
all four sides I get an "Invalid Property Value" Error. The details state
"Cannot widen from target type to primative Type".

Thanks in advance.
TW Scannell

Nov 20 '05 #5

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

Similar topics

6
by: Daniele Baroncelli | last post by:
Hi guys, I would like to change the text in an anchor. es. from <a id="idanchor">oldtext</a> to
2
by: James | last post by:
I have a forms application which has many controls such as buttons,labels,listviews,text boxes etc. If you set the window size to maximum size so that it would expand to the size of the screen the...
6
by: Richard Brown | last post by:
Ok, I celebrate and rejoice in the Anchor property. So wonderful compared to the horrible 'resize' code I had to write in VB6, there is just no end to the wonders of VB.NET..... uh, ok..... BUT......
4
by: CJ Taylor | last post by:
Hey, how do I use the anchor property? I have it set to Top, Left, but when I expand the form, it doesn't grow with it... What am I missing? Thanks, CJ
3
by: Joseph Gruber | last post by:
Hi all -- I have two questions. First, I'm adding a control to my form at runtime and the control/form seems to ignore the anchor property of the runtime control. Any idea how I can get a...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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
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...

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.