Re: MSForms in VB6.0 Project - Cannot Quit



Ooooh.... if you have something rattling around a folder feeling underused it would be much appreciated. I could definitely put it to work on one of my standard forms - which make up the majority of the app! I was tinkering with using a scrollview control the other day (from Brad Martinez's site) but I had some stability issues (I'm already using so much subclassing) and decided against it - sheer laziness on my part rather than a problem with the control I'm sure.

FYI - What I was actually trying to use it for was a pie chart I made -- I make it on the fly rather than using mschart - since I don't want to deploy any files other than my exe. The "pie" of the piechart itself is proportional to the Picture Box I make it on but the labels can occasionally (rarely) run off the bottom and therefore I wanted to make it scrollable. (If I was doing it in VBA I would just resize the Picture Box and the scroll area of an invisible frame it would be placed in -- easy.) I'll also need the same functionality when I port my grid classes too -- it's a big, zoomable, XY scrollable frame at the moment.

I note, with a sigh, that scroll bars don't appear to feature natively for frames (or Group Boxes or whatever they're called) in .Net either.

Thanks again!


Ken Halter wrote:
"Gman" <nah> wrote in message news:%23tL4Qxt6FHA.632@xxxxxxxxxxxxxxxxxxxxxxx

Hi Ken,

If you're curious as to why I used MSForms in the first place - it wasn't a design decision. Rather it was because I had some pretty hefty classes designed in MSExcel VBA that construct a very useful (and colorful) drag and drop, grid control. I simply recycled this for my new VB app. It would be a few weeks work to rewrite this code in VB6 hence, in the meantime, I want to use my existing code so I can run the app -- and run it does, on a variety of OSs and Office versions. When I upgrade it, I certainly won't be shedding any tears on losing the MSForms stuff -- although I'll miss frames with built in scroll bars I'm sure.

Thanks


Ah... the old "Get-r-done" strategy eh? <g> Frames with scrollbars? You need those for something? Betchya we can dig something up.

.



Relevant Pages

  • Scrolling windows/frames programatically
    ... buttons that are used to control the behavior of the IE control (navigate to ... I would now also like to scroll the contents of the IE ActiveX - Preferably ... This works flawlessly when all frames in a frameset are placed on the same ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Scrolling forms in .net 2003
    ... >using frames and changing frames on demand like the "good ... >> the frame control that I used to scroll forms before. ...
    (microsoft.public.pocketpc.developer)
  • Re: Using the tab control
    ... instead we rolled our own, using labels and frames. ... > a new app in VB.NET, and we are disappointed to find that they have ... > Anyway, we are tempted to use the tab control this time anyway, except ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Using the tab control
    ... instead we rolled our own, using labels and frames. ... > a new app in VB.NET, and we are disappointed to find that they have ... > Anyway, we are tempted to use the tab control this time anyway, except ...
    (microsoft.public.pocketpc.developer)
  • can I make a text box do this?
    ... I'm looking for a way to display text information on a windows forms app in ... A regular textbox control would work perfectly fine for me if only as I ... visible and older info can scroll off the top of the textbox. ...
    (microsoft.public.dotnet.general)

Loading