Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Boudewijn Lutgerink
  Where is Boudewijn Lutgerink?
 Hoonaardstraat, Driel
 Netherlands
 Boudewijn Lutgerink
 To: Fred Shelhamer
  Where is Fred Shelhamer?
 New Kensington
 Pennsylvania - United States
 Fred Shelhamer
 Tags
Subject: RE: Thankls
Thread ID: 33770 Message ID: 33899 # Views: 1 # Ratings: 0
Version: Visual FoxPro 8 Category: Forms
Date: Thursday, December 04, 2003 8:29:43 PM         
   


> > > I would like to place a vertical line on a form and use it as a divider. I'd like to be able to move the line with the mouse at run-time left or right, but not vertically. I would then determine it's position and resize objects around it.
> > >
> > > I don't see properties to allow me to move a line. Suggestions?
> > >
> > >
> > > Fred Shelhamer
> >
> > Yes, use two forms within that one form and have them take care for the resizing.
> > See this file for a sample.
> >
> > run form bagger and click the commandbutton.
> >
> > The code is in the click event of the button
> >
> >
> > Boudewijn LutgeĀ®ink
> > Boudewijn.Lutgerink@foxite.com
> > The music, played at a wedding, reminds me every time to music played when soldiers march to the frontier... (Heinrich Heine)
>
> Looks like this will work.
>
>
> Fred Shelhamer

It's only rough code, set up in about 10 minutes so not beatiful at all, it needs some tweaking but I looked for about the same like you needed.
I got some code for a movable line but that was awful buggy, so this is what I came up with.

Good luck My Friend, enjoy
Boudewijn LutgeĀ®ink
Boudewijn.Lutgerink@foxite.com
The music, played at a wedding, reminds me every time to music played when soldiers march to the frontier... (Heinrich Heine)

ENTIRE THREAD

Movable Line Posted by Fred Shelhamer @ 12/3/2003 12:45:47 PM
RE: Movable Line Posted by Boudewijn Lutgerink @ 12/3/2003 1:13:05 PM
RE: Thankls Posted by Fred Shelhamer @ 12/3/2003 2:58:35 PM
RE: Thankls Posted by Boudewijn Lutgerink @ 12/4/2003 8:29:43 PM