How to resize a TextBox -
Hi,
I'm in trouble trying to resize a TextBox.
Is it possible to get the size of the Font and then resize the TextBox (increasing or decreasing), avoiding the text to be hidden by the borders?
Thanks for any help...
Michel Jr.
How to resize a TextBox -
Hi,
I'm in trouble trying to resize a TextBox.
Is it possible to get the size of the Font and then resize the TextBox (increasing or decreasing), avoiding the text to be hidden by the borders?
Thanks for any help...
Michel Jr.
resize textbox(solved) -
hello all
i cant seem to resize the textbox on the gui form i tried using the mouse to resize but it allways goes back to orig one line size same with typing new numbers in properties box, whats wrong?
thanks john
[2.0] Another UserControl Question -
I've noticed that if I import my user control into a project and try to resize it, it doesn't resize everything (TextBox) within the user control. Of course, this makes perfect sense. I would expect it to do that.
However, what is the optimal solution to get the TextBox within it to
Resize control within form -
I have found many examples on there regarding how to resize a control when a form resizes. But I'll be dammed if I can get any of them to work. Surely, there must be a standard formula for working this out?
Textbox.left=100
textbox.top=1000
textbox.height=5000
form.height=10000
resize controls, splitter, bar -
anybody know how to have 2 textbox controls one above the other
and make the a bar (label perhaps) inbetween them resize, move up and down makes the bottom textbox or above one either get smaller or bigger..u can set the size in otherwords.
How to resize text in a resized label at runtime. -
Hi all,
I am developing an application in vb . I am able to resize
label or textbox on the vb form at runtime but text on the label or textbox
is not automatically adjusting to the new label or textbox size .
I need some suggestions or vb code to solve this pr
How to resize without resizing -
Well, with that title i got your attention right?
How do people resize a form, without resizing the commandbuttons?
I have a form with a textbox and a few commandbuttons. I want the textbox rezise with the form, but I want the commandbuttons not to be resized, but moved with th
Resizing form and textboxes ... -
Can someone tell me how to get the text box to resize along with the form? I also have 2 command buttons under the text box which I want to stay centered and at the bottom of the form when I resize it.
Right now, the textbox stays the same size when I resize the Main Form and the
Resize Textbox -
How to let user resize text box at run time?
might be easy -
Hello there!
The problem i have might be simple, but i have given up looking.
I have a form and a textbox inside it. when i run the form and resize the form i want the textbox to resize 2. I tried form resize n this is the code i have
Private Sub frmTestPad_Resize(ByVal sender
Api help needed on this listview label edit. -
Hi everyone.
I have attached a project that edits a listview cell with a textbox. this is woking fine.
But now i'm facing a new problem, when the textbox is edit in the selected listiew cell, if i try to do a column resize the textbox positioning is out of the the listview edit c
Resize contols... -
How can I resize two textboxes that share a common border.
I want to be able to resize them like when you
resize the project explorer in VB for example.
The mouse cursor changes to the Twin I-Beam cursor and you can left
click down and drag the borders for resizing.
Or when you re
Select and resize Control -
Hi
If i click the Button at runtime i want to draw textboxes after that i want select that textbox and resize that
For example in vb
(In toolbox select textbox and draw into form) like that i want
Form resize while App is running -
Some Windows in my program allow me to resize them, others do not. Some have flex grid, browser or textbox, I want the user to be able to resize. Others I want fixed for display or data entry with fixed textboxes.
I would like to control which windows are resized. I don't know what
Textbox - Spacing/Resize -
Hi,
I have three textboxes, one above the other. As I load data into each textbox, I need each one to move up, or down, (Shrink/Grow) depending upon how much data is in each textbox, so that there are no spaces between each textbox.
Can someone post some code to show how this is
Resize textbox to fit form -
hey,
I want my textbox to fill my complete form, even when I resize the form.
I want it to look similar to notepad, where the form consists of only a menubar and a textbox...
I tried the following code:
Code:
Private Sub Form_Resize()
Text1.Top = Me.Top
Text1.Width = Me.
resize textbox and picture on a textbox -
can anyone tell me how to maximised the textbox when the form or vb program is maximised? also how to put a pictrue on the background of a textbox?
Activex control resize Problem -
Hi
i have created activex control like textbox.
But when use that control in my application
i cant resize
If anyone knows help me
I have written the code in usercontrol resize event
UserControl.Text1.Move 0, 0, UserControl.ScaleWidth, UserControl.ScaleHeight
But its not
MSFlex resize -
Thanks for all your help so far - I'm having trouble with a form resize - all I have in the form is an MSFlexGrid, but when I put code into the Form_resize event - all I can seem to do is make it disappear (I'm trying to resize the grid proportionately to the resize) this must be easy
auto resize richtextbox with form window -
How do I set Auto Resize for a Rich textbox to resize with the Form window?
Determining the number of lines in a textbox control *Solved* -
How do I determine how many lines exist in a multi-line textbox control and then subsequently resize that textbox control so that the scrollbars are no longer needed (so that the text just all fits into the textbox).
Help appreciated.
*Resolved* Object resize-to-form -
Is there a piece of code that makes an object (ie: textbox) resize to the height & width of a form?
Custom Control Design-Time Resize -
I have a simple composite control that contains a Label
with a textbox immediately below the label.
At design time, when the developer resizes the control, I
would like to resize the contained Textbox so that its
width is slightly less than the width of the control.
Anyone
Am I just stupid or what....resize doesn't work. -
As far as I can tell, the resize event does NOT fire when you resize a form SMALLER. This is really screwing with the look of my form, because my resizing of some controls is dependant on the firing of the resize event.
Any ideas?
Resize w/ XP -
What api can I use to resize a image? I'm used to using gdi32's stretchblt but that doesn't work. I've had posts about that problem with no help. So what else is there? Thanks!
(I need to resize so I can save it, not just dsplay it...)
NOMAD
how to resize column width -
hi guys,
does anybody know how to resize column width of a MSFlexGrid from the coding???
But if i went to the propaties and change the AllowUserResizing to "1 - Coloumns" then i can resize them in the run time. but i dont want to resize it in the run time. i want it to ha
Resize Calendar in VB6 or VB2005 -
Does anyone know how to resize the MonthCalendar that can be added to a form? It appears like it can be stretched, but it will not resize. I have tried making the font bigger, but nothing changes.
Thanks,
BZ
mdi forms resizing by themselves -
Why do all my mdi child forms automatically resize to what they want them to?
i can get around this by setting the sizes on form_load but i am using a resize control to resize all the controls and i get incorrect results. ( the controls are not sized correctly, not the resize contro
Picture Box and aspect ratio -
Is there an easy way to show a picture in a picture box and that picture to look normal? I can't find a way to resize it without being grotesquely streched or filling 10 monitors (when letting the control to resize itself around).
I guess I could calculate the width and height and res
Interesting Problem... -
Hey, I ran into an interesting problem. I used VB's app wizard to make a multi-form window app but now when I resize any of the frmDocuments they don't resize since they're children of the frmDocument... if I resize the real frmDocument and then resize the children of frmDocument they
Help With Disaplying ActiveX Name -
Hi,
I had ActiveX in which there a TextBox control.
I would like to display the ActiveX Name on that TextBox.
So at any time the ActiveX Name change, it reflicts on the TextBox.Text
I am looking for the event could be used to trigger whatever script to transfer the ActiveX Name to
Where can I go for help -
I'm using Windows 2000 and IE6. When I display a page in the browser, the boarders on the textbox is missing making the textbox invisible. It will appear if I resize the form. Microsoft doesn't have anything in thier knowlege base. Does anybody know where I can go to look for help?
Resize PictureBox in Program -
I want to be able to resize a PictureBox in a program the same way that I can resize it in Edit mode.
Meaning when the program is running , the user can resize the object. I only need horizontal resizing , not vertical.
Thanks
Text box gets larger font on resize -
Why is this happening?
I resize my text box based on the form height and width, and the font size of the textbox increases!
Is there any way to fix this? Any controls out there to do this well?
Thanks!
(resize button / text/ dropdown ) after form auto resize -
hi, i can resize the form size (width + height) for the panel control from the auto resize (max / min button). But i have no idea how to resize the (button/text/dropdown) on the form when going to auto resize...
Vb.NET 2005
End of resize -
When I drag on a form's border to resize it I use the Resize event handler to rearrange and resize some controls on the form. To avoid flickering in a listview full of data I'd like to do the control arrangement the moment the mouse button is released. So, how do I trap the "mouse
Resize an image... -
How do I resize an image to fit in a picturebox...
I want to keep the aspect ratio the same...
also...when I resize the form..the picturebox should resize as well with the image adjusting also.
Ive played with StretchBlt (couldnt get it to work! )
help?
thanks
MSFlexGrid, resize event for when you resize column widths... -
soz so many questions today
i need to make it so that when i resize one of the columns in the flexgrid it triggers an even to save the width of that column so it remembers it.
but there is no resize event, so how would i go about doing this? i have a feeling it probably wont be
Resizing problems.. -
I am using this code:
Code:
If Form1.WindowState=1 Then Exit Sub
'Move left, top, width, height
Text1.Move 50,50,form1.width -50,form1.height-250
To resize a text box, however, the font keeps increasing and decreasing when I resize the form... I need it so that it
Frustrating Problem With TextBox "Height" Property -
I have a ton of textboxes on my form and I want to change their height so that they aren't as tall (in design time). When I select all the textboxes on the form and then try and change the height property in the properties window it won't let me change it. So I tried changing the heigh