473,765 Members | 2,010 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

position property for textbox does not exist?

Hi all,

I am designing a page with radiobuttons and textboxes using the flowlayout.
However, I notice that the position property does not exist for these
controls. How can I align these controls at the position that I would want
to?

Thanks,

Carlos.
Nov 19 '05 #1
2 1327
If you want to assign an absolute position you will need to use a gridlayout.
If you use the flowlayout then you will simply use HTML to arrange the
controls as you would on any other webpage (eg using tables).

"Carlos" wrote:
Hi all,

I am designing a page with radiobuttons and textboxes using the flowlayout.
However, I notice that the position property does not exist for these
controls. How can I align these controls at the position that I would want
to?

Thanks,

Carlos.

Nov 19 '05 #2
Thanks Steve,

but what I also learned is that while you would like to align your
controls
using HTML, the style property allows you to define a relative position
as well, which I used, and worked perfectly.

Carlos.

"sstevens" <ss******@discu ssions.microsof t.com> wrote in message
news:FF******** *************** ***********@mic rosoft.com...
If you want to assign an absolute position you will need to use a gridlayout. If you use the flowlayout then you will simply use HTML to arrange the
controls as you would on any other webpage (eg using tables).

"Carlos" wrote:
Hi all,

I am designing a page with radiobuttons and textboxes using the flowlayout. However, I notice that the position property does not exist for these
controls. How can I align these controls at the position that I would want to?

Thanks,

Carlos.

Nov 19 '05 #3

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

Similar topics

8
3034
by: Jaime Rios | last post by:
Hi, I created a COM AddIn for Word that performs the functions that it needs to, but I needed to add the ability for the toolbar created by the COM AddIn to remember it's last position and whether it was docked or not. I added the following code to my "OnConnection" function but it fails with an error, "Run-time exception thrown : System.IO.IOException - Bad file name or number." With applicationObject.CommandBars("SampleToolbar")
7
9062
by: Steve | last post by:
does any one know a way to determine the position of the cursor in a text box. I would like to position a list next to the current position for context commands. I am using VS.NET/C#/System.Windows.Forms.
3
1325
by: Jac | last post by:
Hey, I extended different controls (textbox, combobox,..) with a property. But now I will find that a control has that property. How can I do this?I don't want to test if textbox, if combobox. I want to search on every control (neither which control) if he has that property before I take any action. if (ctr1.Propery1 == null) this is not correct.
2
2144
by: Gene Hubert | last post by:
For a string that is being edited in a textbox, is there a way to find the position of the edit cursor in the string being edited? For example, it would be 0 or 1 at the beginning of a string and go up by one each time the right arrow key was pressed. Thanks Much, Gene in NC
1
2982
by: John | last post by:
Hello all, I was wondering, does this property really exist in VB.NET 2003? Because it's listed in Intellisense, but setting it doesn't seem to have the slightest effect on the visual look of the control. I can set it for forms, checkboxes, radiobuttons, buttons, pictureboxes, and it works for everything except for textboxes. Does anyone know what's wrong? For the record, when testing I simply put the following in the procedure that...
2
3084
by: Agnes | last post by:
In my Textbox, User will input a date e.g "2004-12-06" How can I check the curosr position if the user use mouse or arrow to move the cursor position in the textbox ? e.g "2004-12-06" if user move the cursor and delete "2" . like this "2004-1-06" I need to get know the position just after "1" .... '2004-1" I need to get the result "6" , Does anyone understand my problem ?? Thanks a lot
4
64886
by: Brandon McCombs | last post by:
Does anyone know of an easy way to set the position of the cursor in a TextBox? If I set text in the box that is longer than the length of the TextBox the position of the cursor is at the very end of the line and a user would have to use the arrow keys to move it back to the beginning of the line of text. I'd prefer to set the cursor position automatically to just before the first character of the text. thanks
5
6096
by: Andrus | last post by:
I use Winforms RichTextBox control to edit scripts. Scripts are plain ascii texts. When error occurs, script engine returns character position of error in code as integer. How to position cursor to this character position ? RichTextBox does not have current position property. Andrus.
1
5416
by: sypher04 | last post by:
Hi, new here as a member, but have visited frequently as a guest. I'm a C# developer from Canada. I primarily work on ASP.net and Pocket PC. I am currently in the process of writing a new mobile app with the .NET Compact framework, but have hit a snag I'm hoping someone here will know something more about than myself. So, I have a textbox, and whenever said textbox gains focus, I'd like to set the current cursor position to a specific...
0
9568
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9399
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10163
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10007
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9957
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9835
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7379
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3924
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.