How To Make A Label Reveal
Mar 9, 2011In my code I create 9 labels each is in specific position. (Known)The problem is that those positions are always behind a label. I wish to make that label let the user see the new labels.
View 4 RepliesIn my code I create 9 labels each is in specific position. (Known)The problem is that those positions are always behind a label. I wish to make that label let the user see the new labels.
View 4 RepliesI have a textbox here, and I want the user to drag and drop their file on there, and it will display the directory of that file, in that same textbox.
View 1 RepliesHow can I drag a file into a textbox, and then it will show the directory of that file. It seems pretty simple, since its a drag and drop kind of thing.
View 1 RepliesSince I like to use the ReadAllBytes and WriteAllBytes methods to save my variables to disk, I have had no troubles thus far with Integers.It has been easy to convert a short integer into a string of two bytes to save them using WriteAllBytes as following example:-
ReDimxji(0 To 601)
For I% = 0 To 300
J% = hbs(I%)
[code].....
But now I want to store some Single variables using WriteAllBytes, so I need to convert my single variables to a string of four bytes for each.
I made a program that generates random numbers and places the numbers in two separate labels.How can I make the number in the first label greater than the number in the second label.Here is my code for generating random numbers:
Dim nRandom As Integer
Dim nRandom1 As Integer
Dim randomgenerator As New Random[code]....
I want to make the first number greater than the second because the numbers should be subtracted .
How can I programatically reveal the name of the current function or sub being executed? How can I programatically determine when a usercontrol is in focus. I've been using the .Paint peramiter and while this works, I think there has to be a better way.
View 2 RepliesI want to make label beside label/etc. For example, after i clicked button then label appear beside its button , and after 5 second / less, i want to make the new label dissapear / erased . Visual Studio, vb.net
View 4 RepliesI want to make a form that closes after 30 seconds. And I would like to see a label that counts down evrey second. The closing after 30 seconds ain't a problem, but how to let the label update evrey second?
View 4 RepliesHow do I make a label add points?In other words I have a label with the text of "0" If I click a certain button I want the label to become "1" displaying that as the amount of points.If I click another button that gives 2 points I would want the label to change to "3".Get it? Hope I was clear.
If TextBox1.Text = "Blah Blah Blah" Then
TextBox1.Text = "Generate a New Code - Points + 2"
Label2.Text = +2
End If
i want to update a label so I sorta know it's still running or not.I have this
Dim temp As String
Dim filename As String
temp = "D: est"
[code]....
I would like to let a user be able to click on a button which will then create a label and put it on that form.
After I learn how to do that, I would like to make it so if the button is pressed again, another label appears below that label.[code]...
I searched the forums and most of the topics involving this seem to be for Compact Framework. I need a transparent text label which shows an object directly beneath it. In this case, a rectangle. (Visual Studio 2010) I noticed that when I set the label background to transparent it shows the form bg instead of anything between the label and the form. How can I work around this without setting my form background to an image? If I were to make a custom control for it, how would that be achieved?
View 5 RepliesHow do you make columns in a label? [url]....
View 6 RepliesI'm creating a Calendar. I want to put Text in the date, but the day is not always the same as the Label name. So, in this case Label27 is actually the 25th of Christmas.At first I have to decide which label. Which I can do. now I need to know how to input text into it. In essence I want to do:
Label27.text = "Christmas"
But, I don't have the Label27, I need to calculate it. Since I know Christmas is 25 and I know that the month starts on the 3 day of the week, I assign:
Att1 = 3(first day of the week of december 2009)
Dim Att3 As String
Dim Att4 As String
[code]....
Is there a way to make a text/label transparent or another way to show text over a picture (photo)With transperant bagground
View 5 RepliesI have a small picturebox(34x34 pixels) and want to have a transparent label(maybe 12x12 or 15x15 pixels) in the corner of it, which will be used as a counter.
I saw another forums suggesting adding the PictureBox as a parent to the Label, like this:
Label1.Parent = PictureBox1
Label1.BackColor = Color.Transparent
But then the label just disappears, and no text is displayed.
I am trying to make a label write its text from right to left (right justified) - however after numerous attempts with different code and property editing I cannot figure it out. [code]...
View 13 RepliesI am writing a program that uses an array of structures to display a price in a label based on what item is selected in a list box(the data is stored in a text file). I am having trouble figuring out how to make the price corresponding with the item appear in the label. Currently, it just keeps showing the last price in the text file.
CODE:
how to make the label box as transparent....
View 5 RepliesCan anyone show me how to programatically make a label font bold?
lblid.Font.Bold = True
I tried the above, but it did not work and gave Read Only Error.
if a label says 500 how can i make it go up by 2 each time a timer ticks?
View 20 RepliesHo can you make a dynamic label stay right justified, so that when the label.text is filled the text starts at the right edge of the label and fills to the left? Currently the text fills to the right from the left edge of the labels location and tends to run off the form.
View 1 RepliesI am creating a very simple control, think of it as a bunch of labels, autosize=false, docked to the top inside a panel. I can't set the height of the label to any certain value, because I am unsure of how many lines the text will be inside the label. And I can't use autosize=true because then I only see one line. But I don't want a label in there that needs 50 lines and only has 30, then the next label only needs 5 lines but has 30, so some get cut off and some have way too much space. So I need a way to "autosize" the height of the label.
View 3 RepliesThe idea is to make something that would count clicks but I dont know how to make it so the label increases by 1 when the button is pressed
View 15 RepliesHow yo make a transparent label in vb 2008 express? I want to put the label over a imagebox.
View 15 RepliesDoes anyone know how to make an event that will fire when the value from a label is changed? (In VB.NET)
View 3 RepliesI have a custom control label that I am trying to give all the same properties and functionality to as a regular label. I can change the text, font, and assign the auto size property. However, I cannot figure out a way to make the control re-size correctly. Does anyone have any suggestions or code examples of a custom control being re-sized to fill the entire control?
View 1 RepliesIn visual basic , when you create a label in form view (via click and drag) is it possible to make the label have both a string and a variable included in it?
*
turns=1
label1.text = ("Turn:"(turns))
*
for example , so that label 1 will display
how to make a label update and add another letter beside it? E.X : I want it to say Loading then 1 seconds later it goes to loading. then to loading.. then loading...
[Code]....
We are designing the GUI of a microwave where a user can hit the numeric buttons 0-9 and create the time they want their item to cook. I have everything complete and ready to be submitted, but the only thing left is getting the label that displays the entered time to look like it is in a clock format.
Right now you enter the digits and it puts them like this: 95959
I am trying to get it to always enter it like this: 9:59:59