473,386 Members | 1,720 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,386 software developers and data experts.

Two questions about textbox

Hello,

1. I've created a dataform with the wizard. There is textbox that is bounded to a field, if I make this textbox invisible, I'm not able to read is value.
I' ve other projects thaT I´m able to do it. It doesn´t seem to be very consistent. So, my first question is - How to read the value of a textbox bounded to a field if I make this textbox invisilbe ?

2. How to set the size, Bold and Italic of a Label in 'Run Time' ?

Thanks in advance

Luis
Nov 20 '05 #1
2 865
Cor
Hi Luis,

This sounds strange to me,
did you try

Me.Label1.Font = New System.Drawing.Font("Arial", 12.0!,
System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0,
Byte))

(What I did, was copying this from the designer created code, little trick
but very usefull)

me.textbox1.visible = false
me.textbox1.text ="Luis"
messagebox.show(me.textbox1.text)
///

I am curious what you see?

Cor

1. I've created a dataform with the wizard. There is textbox that is bounded to a field, if I make this textbox invisible, I'm not able to read
is value. I' ve other projects thaT I´m able to do it. It doesn´t seem to be very consistent. So, my first question is - How to read the value of a textbox
bounded to a field if I make this textbox invisilbe ?
2. How to set the size, Bold and Italic of a Label in 'Run Time' ?

Thanks in advance

Luis

Nov 20 '05 #2
Hi,

Here is how to change the font and size

TextBox1.Size = New Size(200, 10)

TextBox1.Font = New Font(TextBox1.Font, FontStyle.Bold)
Ken
-------------------
"Luis Mendes" <an*******@discussions.microsoft.com> wrote in message
news:27**********************************@microsof t.com...
Hello,

1. I've created a dataform with the wizard. There is textbox that is
bounded to a field, if I make this textbox invisible, I'm not able to read
is value.
I' ve other projects thaT I´m able to do it. It doesn´t seem to be very
consistent. So, my first question is - How to read the value of a textbox
bounded to a field if I make this textbox invisilbe ?

2. How to set the size, Bold and Italic of a Label in 'Run Time' ?

Thanks in advance

Luis

Nov 20 '05 #3

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

Similar topics

1
by: TBK | last post by:
I'm trying to finish up an assignment I had for a class and basically I'm stuck. The program is supposed to take information you've entered, put it into an array, display it in a listbox and then...
2
by: Kelly | last post by:
I'm fairly new to ASP.NET2, but I have an ASP 3.0 background, and I've been experimenting with the DataSource and FormView widgets. I wound up having some questions along the way which I hope you...
7
by: Don | last post by:
I'm not very proficient with Access, probably only enough to make me dangerous. With that said I've got two questions. #1 (probably pretty simple). I know I've done this before but how do I get...
10
by: anil reddy | last post by:
Dotnet Interview questions and FAQs, Jobs. Please give your feed back http://interviews.dotnetthread.com
6
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 ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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
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...

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.