473,785 Members | 2,299 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

displaying text in a textbox

I want to display text in columns in a textBox, but can't set the position
of the tabs in the box.
I've used 'vbtab' , but you can't set the column/tab number.
Any ideas??

TIA
Kate
Jul 19 '05 #1
5 2728
Textboxes don't do what you are looking for. You might try a RichTextBox
ActiveX control.

"Kate" <an**@anon.ne t> wrote in message
news:DC******** **********@ward s.force9.net...
I want to display text in columns in a textBox, but can't set the position
of the tabs in the box.
I've used 'vbtab' , but you can't set the column/tab number.
Any ideas??

TIA
Kate

Jul 19 '05 #2
Thanks Scott,
How do you set columns in a RichTextBox?
Kate
"Scott M." <s-***@badspamsnet .net> wrote in message
news:OZ******** ******@tk2msftn gp13.phx.gbl...
Textboxes don't do what you are looking for. You might try a RichTextBox
ActiveX control.

"Kate" <an**@anon.ne t> wrote in message
news:DC******** **********@ward s.force9.net...
I want to display text in columns in a textBox, but can't set the position of the tabs in the box.
I've used 'vbtab' , but you can't set the column/tab number.
Any ideas??

TIA
Kate


Jul 19 '05 #3
You don't. But, you can insert tab stops.
"Kate" <an**@anon.ne t> wrote in message
news:9B******** **********@ward s.force9.net...
Thanks Scott,
How do you set columns in a RichTextBox?
Kate
"Scott M." <s-***@badspamsnet .net> wrote in message
news:OZ******** ******@tk2msftn gp13.phx.gbl...
Textboxes don't do what you are looking for. You might try a RichTextBox
ActiveX control.

"Kate" <an**@anon.ne t> wrote in message
news:DC******** **********@ward s.force9.net...
I want to display text in columns in a textBox, but can't set the

position of the tabs in the box.
I've used 'vbtab' , but you can't set the column/tab number.
Any ideas??

TIA
Kate



Jul 19 '05 #4
How? Sorry new to VB.NET
"Scott M." <s-***@badspamsnet .net> wrote in message
news:#B******** ******@TK2MSFTN GP10.phx.gbl...
You don't. But, you can insert tab stops.
"Kate" <an**@anon.ne t> wrote in message
news:9B******** **********@ward s.force9.net...
Thanks Scott,
How do you set columns in a RichTextBox?
Kate
"Scott M." <s-***@badspamsnet .net> wrote in message
news:OZ******** ******@tk2msftn gp13.phx.gbl...
Textboxes don't do what you are looking for. You might try a RichTextBox ActiveX control.

"Kate" <an**@anon.ne t> wrote in message
news:DC******** **********@ward s.force9.net...
> I want to display text in columns in a textBox, but can't set the

position
> of the tabs in the box.
> I've used 'vbtab' , but you can't set the column/tab number.
> Any ideas??
>
> TIA
> Kate
>
>



Jul 19 '05 #5
By literally setting the .text property with the character code for tab
(don't know it off the top of my head).

"Kate" <an**@anon.ne t> wrote in message
news:5R******** **********@ward s.force9.net...
How? Sorry new to VB.NET
"Scott M." <s-***@badspamsnet .net> wrote in message
news:#B******** ******@TK2MSFTN GP10.phx.gbl...
You don't. But, you can insert tab stops.
"Kate" <an**@anon.ne t> wrote in message
news:9B******** **********@ward s.force9.net...
Thanks Scott,
How do you set columns in a RichTextBox?
Kate
"Scott M." <s-***@badspamsnet .net> wrote in message
news:OZ******** ******@tk2msftn gp13.phx.gbl...
> Textboxes don't do what you are looking for. You might try a

RichTextBox
> ActiveX control.
>
> "Kate" <an**@anon.ne t> wrote in message
> news:DC******** **********@ward s.force9.net...
> > I want to display text in columns in a textBox, but can't set the
position
> > of the tabs in the box.
> > I've used 'vbtab' , but you can't set the column/tab number.
> > Any ideas??
> >
> > TIA
> > Kate
> >
> >
>
>



Jul 19 '05 #6

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

Similar topics

7
3562
by: Bil Muh | last post by:
Esteemede Developers, I would like to Thank All of You in advance for your sincere guidances. I am developing a software using Visual C++ .NET Standard Edition with Windows Form (.NET) template. Briefly -------------------------------------------------------------------------------------------- I need to create dynamically some controls on the forms, and display these
1
1263
by: Maziar Aflatoun | last post by:
Hi everyone, I have this DataGrid that I bind to a DataTable. However, instead of displaying the column 'Qty', I like to place it in a textbox and display the value of Qty as the default value for the TextBox. Any suggestions? <asp:datagrid id="DGShoppingCart" runat="server" Width="650" AutoGenerateColumns="False"> <Columns> <asp:BoundColumn DataField="ProductName" HeaderText="Product"
0
1727
by: Fronky | last post by:
Hope someone can help. I am still learning, so no laughing please. I am displaying records from a database using Response.Write(""); instead of the usual datagrid method. I am doing it this way to achieve the result I require. However. Since I have added a button to the screen, and have had to include the "object sender, System.EventArgs e", the Response.Write code has been appearing within the Documents_Table(null,null); tag on the...
5
1829
by: nbohana | last post by:
I have a windows form with several fields. One of the fields is a date. I use DateTimePicker to enter and format the date. In my SQL table the date si stored as follows "01/10/2005" and this is what I wont. When I display the date with a 'fill or select' this is what I get '01/10/2005 12:00'. What am I doing wrong? Please Help. -- Norm Bohana
0
1227
by: Earl Teigrob | last post by:
I can create a new custom control (and not change it) and add it to the toolbox and drag it onto the disign screen and it works just fine, displaying the text . However, when I add the following datepicker control to the toolbox, it just shows a yellow dot and thats it. What happened to the text??? Earl
2
1262
by: moumita | last post by:
I have the folowing code..the logic according to me is correct..but I dont know...the msg boxes are not displaying anything...am I supposed to change any settings ??? Public Class Form1
12
4714
by: brwalias | last post by:
Hi, using .net 2 sql server 2005 Here is my situation: I'm passing a variable in the url from a selection on Page A and need to display the results on the Results page be based on that variable in the url. I would like that variable to trigger a stored and
11
3800
by: pardesiya | last post by:
Friends, I am having trouble displaying Japanese text within a textbox (or anywhere else) in an aspx page with .net 2.0 framework. Initial default text in Japanese displays perfectly but when I attempt to change the text following a button-click event, it displays as junk. I have tried setting the globalization tag in the web.config file but that does not help eiter. <globalization requestEncoding="UTF-8" responseEncoding="UTF-8"
1
2478
by: seadog | last post by:
Hi, I am having a problem displaying data in a textbox array. What I am trying to do is have 5 number enter 5 textboxes, starting from the first and working there way to the bottom textbox. What is happening is that the displaying of the data is not happening until the process is complete, I have tryed a for next loop, for x = 1 to 5, text1(x).text = char(5,1), next x, I have even tryed just text(0).text = char(5,1), sleep 500, text(1).text =...
6
2279
by: IReallyNeedHelp | last post by:
I have saved the questions using AddQuestion.aspx page i have created but i don't know how to display it and calculate their score. this is the formview i have done, but there is some error <asp:FormView ID="FormView1" runat="server" DataKeyNames="QuestionID" DataSourceID="SqlDataSource1" Width="151px" AllowPaging="True"> <EditItemTemplate> QuestionID: ...
0
9480
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
10315
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
8968
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7494
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
6737
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();...
0
5379
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4045
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
2
3645
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2877
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.