|
-
Sep 5th, 2005, 03:27 AM
#1
Thread Starter
Lively Member
VScroll
I putted a vertical scrollbar in a user control, but it just want work. All the tutorials you find work with a picturebox. Now, if it's possible, I don't want to work with a picturebox.
So the user control. The user control add's depending of the number of records in my recordset a textbox. Probably you've allready understanded that I want to scroll my window (or the user control) if the number of textboxes filled, using the recordset is to big for my current window.
I know my explenation is quite vague, but if someone's got a good tutorial (whitout the picturebox stuff), I'll be very happy!
Thanks in advance!
A good programmer is a LAZY programmer!
-
Sep 5th, 2005, 03:30 AM
#2
Re: VScroll
What kind of data is it? You could use a MSFlexgrid, which has scrollbars that can be turned on. It is kind of like a spreadsheet. There are many samples on the forums. Do a search to see if the examples are what you want.
-
Sep 5th, 2005, 03:59 AM
#3
Thread Starter
Lively Member
Re: VScroll
The data is a number of user controls (in the user control with the scrollbar). The data in the textfields in the user control is data that must undergo a number of actions, what was made possible by the user control. The problem is that I only recently found the problem that not all data was showed because the window is to small and I only recently added the scrollbar. Because of the previous done work, I really like to keep my user controls and not work with some other possible objects. Just need to get that scroll-thing a live!
A good programmer is a LAZY programmer!
-
Sep 5th, 2005, 04:09 AM
#4
Thread Starter
Lively Member
Re: VScroll
So like you told me I was searching the forum and I did find somethings ... like using an MDI form, wich has scrollbars. So I was thinking ... I use an MDI form as main window of my application (I learned it that way), but is it good to use it in your application ... Just like that ... because you need scrollbars and you don't get this VScroll thing not to work.
Pro and contra's of using MDI form in your application or am I making a fool of myself just asking that?
No problem, the real fools are those who are scared to ask :-)
A good programmer is a LAZY programmer!
-
Sep 5th, 2005, 04:12 AM
#5
Thread Starter
Lively Member
Re: VScroll
Ok, this looks like a conversation on my own ... new problem. You can't put user controls directly on a MDIform because it hasn't got an align property ...
So no MDI stuff in this case ... other idea's?
A good programmer is a LAZY programmer!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|