Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I make a control to hover on grid
Message
From
17/02/2002 23:24:41
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00621049
Message ID:
00621429
Views:
12
>>I was thinking of something simpler - an editbox which would be over (as in zOrder) the grid, but invisible, until the mouse hits the control in the grid. Since there's the word "hover" in the caption of the thread, I figure it would be in the control's MouseEnter - make editbox visible, give it focus; when it loses focus, make editbox invisible, refresh the control in the grid. The control itself, IMO, would probably be a textbox, showing the first line of the memo.
>
>Yes exactely that's what I meant. However in case he uses an ActiveX-Grid the solution with the form is the only way to make it. Wit a normal VFP-Grid an editbox hidden on the form will do.

Mmm... yes, the form should be visible, but I'm thinking of focus. If you show the form, it will gain focus (unless you hide it in form's MouseLeave), but then it'd be a matter of navigation - where would the mouse pointer be once it leaves the form? It could create erratic navigation. Maybe if there was a read-only textbox somewhere on top, which would expand, just like it happens in Excel when you click on a cell which has several rows of text.

Another way would be to have a multiline tooltip (another Activex?), and use the form when clicked for editing.

Really an intriguing problem.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform