|
Is this easily done??
Thanks in advance
|
|
|
|
|
Hello,
I have a lot of controls and information to put on to one form. When this is run the form will be to big for the screen. This is the requirement so has to fit on one form.
Is there a way, maybe to add scroll bar to the form, or do something else?
Many thanks,
Steve
|
|
|
|
|
The forms don't have scrollbars. However you can immitate it with a panel object. I have explained below how to do this:
First, place a panel object on your form and set its size to form's size (Width and Height) or you can apply docking. Then in the Panel object's attributes enable the scrollbar for the panel object. And then place all other objects inside the panel object (Drag and Drop). That is how you can scroll and see all other controls inside a form.
Give a try... I hope that helps.
Journey
|
|
|
|
|
exactly u want to make yr form as big as u want ....
do one thing in property window turn the ' autoscroll' as TRUE.
then yr form will increase t the size accordin to yr buttons and textboxes....
try this out ..and lemme knw..
|
|
|
|
|
Perhaps you should consider using a tab control instead of a scrolling panel. That's what usually is used to get more into a form that there is room for, and in my opinion more user friendly.
---
single minded; short sighted; long gone;
|
|
|
|
|
Thanks for your response.
All your ideas are very good, and I will try all of them.
Thanks,
Steve
|
|
|
|
|
well i am through with dot net package...
and i have the acquaintance wid the technical approaches of dot net...
but being a beginner i come accross many small problems and errors which i dnt knw hw to resolve.
can anybody help in troubleshootin and giving me guiadance..
thanks..
regards..
|
|
|
|
|
.net comes with MSDN library where mostly you can find answers to your questions. I strongly suggest you to use MSDN. For example if you get an error message, type it in MSDN search box and then examine the given answers.
Journey
|
|
|
|
|
yeah m already folowing that procedure.....
and solves most of the problem by myself.
but still i need a guiadnce for advances troubleshooting in coding
|
|
|
|
|
What you should do is whenever you get stuck on something post the code here and someone should help.
Kevin
|
|
|
|
|
I am using SQL 2000 DataBase for backend. and VB.Net 2005 For Frontent. now i want to save image in database which is in Picture box. How i can do this. and how i can show it in Picture box Form database. Saved Image.
Please Help me.
Thanks & Regards
Form :-
Vikash Yadav
|
|
|
|
|
you can check :this article
It's in C# but should be clear enough.
|
|
|
|
|
Hi, I have a textbox and a listbox. All I want to do is, when I enter a letter (in the textchanged of the textbox I want to search that letter, from the Listbox.) This is just the same as the windows do when you want to search for something.
My problem is this .. because if I am searching for a film called "Platoon", I want to write all the of word Platoon not "P" and then "L" and the listbox indicates the word platoon. This is how i want to make it. Can anyone help me please??
Adrian De Battista - Web Designer, Web Programmer, Software Programmer From Malta. My Website .. www.MaltaTrade.org
|
|
|
|
|
ADY007 wrote: because if I am searching for a film called "Platoon", I want to write all the of word Platoon not "P" and then "L" and the listbox indicates the word platoon.
So, what is your problem ? You want to be able to enter an entire word before the filtering starts ?
ADY007 wrote: Web Designer, Web Programmer
IS this an ASP.NET app ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
no no .. i want the filter to begin when i enter a letter. When i enter "P" .. the listbox goas and highlits the Word "Platoon" if "Platoon" is the only word that begins with letter "P" for example. If theres another word then nevermind i will enter the second letter and the filter will search for a word that begins with "Pl".
You know what i mean?? thanks very mcuh
Adrian De Battista - Web Designer, Web Programmer, Software Programmer From Malta. My Website .. www.MaltaTrade.org
|
|
|
|
|
OK, so handle the keypress event, and iterate over your listbox Items collection, looking for one that starts with what has been typed, and set it's selected flag to true.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi Everyone I Have Got a problem here....I have four comboboxes and about seven textboxes that are all data bound. every thing works great except when i add a new record. then the comboboxes do not reconize the updated database untill after the form is regenerated. I have tried to re load the formload event but that doesnt work. I am using vb.net 2005 and a data tier any comments are welcome
|
|
|
|
|
You have to reload your dataset that the combo is bound to. Depending on what you're doing, you may also have to call ResetBindings on your BindingSource to get the controls bound to it to reread their values.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hi Everyone I Have Got a problem here....I have four comboboxes and about seven textboxes that are all data bound. every thing works great except when i add a new record. then the comboboxes do not reconize the updated database untill after the form is regenerated. I have tried to re load the formload event but that doesnt work. I am using vb.net 2005 and a data tier any comments are welcome
|
|
|
|
|
I would like to know if it is posible to show some text next to check box.
Thanks.
Victor Omar Nilo Valenzuela
Santiago, CHILE
|
|
|
|
|
Just set the CheckBox's Text property to whtever you need.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Thanks, but how can access the datagridviewcheckbox when we are working with the rows.cells collection (the ColumnType was defined as DataGridViewCheckBoxColumn), example:
Row.cells(Index).value = true
row.cells(index).text ??????????
Thanks.
Victor Omar Nilo Valenzuela
Santiago, Chile
|
|
|
|
|
OK. The question went from a CheckBox to a CheckBoxColumn in a DataGridView. It might have helped if you specified this in your original post. CheckBoxColumns don't have text with the CheckBox.
What are you doing with this. It sounds like you have a design problem with your presentation.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
OK, my question was about DATAGRIDVIEWCHECKBOXCOLUMN, how to show a text aside the check box, well, the answer is that it is not possible.
Thanks
Victor Omar Nilo Valenzuela
Santiago, Chile
|
|
|
|
|
vnilo wrote: how to show a text aside the check box, well, the answer is that it is not possible.
Cool it. I just asked you a question about why you're doing this. There may be an alternative solution to the problem.
It's not impossible, just not doable using the standard controls. You'll have to create your own DataGridViewCheckBoxColumn class to add Text support to it. You'll need to replace the painting code with your own implementation, and possibly add some new properties to control how you want the cells painted, like checkbox on the left of the text, or on the right, among others...
You can check out this[^] example for a start. You'll notice that doing something like this can be very tedious and difficult to get every detail in the drawing code correct.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|