>>Hi,
>>I am looking for some suggestions on how to implement a split-window form. Let me describe.
>>
>>The form should be divided into two, kind of like you can divide a grid with a SplitBar property. The left side of the screen will show the grid bound to a cursor. And the right side of the split form will show the selected record in a Detailed view (textboxes, combo, edit boxes, etc.).
>>
>>The trick that I need to figure out is that the user should be able to make the left side wider or narrower. So there has to be a vertical divider that user can “grab” with a mouse and slide left-right.
>>
>>I would appreciate any suggestions on how this can be implemented.
>>TIA
>
>Hm google will bring some results on VFP splitter.
>
>It's tricky. I can give you a brief explanation what I do
>
>I do a (transparent) shape as splitter.
>then you need tho have a hidden shape that covers the whole form
>then the thing is done via OLE drgadrop,
>OLEStartDrag will bring the cover topmost (zorder) while OLEDrag will put the cover in background
>The cover OLEDragOver will return coordinates while the splitter OEGiveFeedback does the refresh.
>
>Thats basically is what I do.
>
>This is ancient code ....
>
>
>Lutz
Thank you. I will download the Active-x that Borislav referenced and see how it works. If not, I will start building it from scratch and take your input of how you done it.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham