Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hyperlink from a grid column
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00223601
Message ID:
00223980
Views:
27
Hi Vidar -

>I really have trouble implementing the right cursor behaviour. What exactly are you doing to make it work smoothly? What do you mean "in all surrounding objects"?

No, with this technique all you need is the column Mousemove, where the hand is "turned on." In adjacent columns, form/page containing grid, etc., you re-set the hand back to whatever the cursor normally is...it's very smooth...

>
>To me it seems like you have to set the cursor also in the textbox Mousemove since the textbox (the object living inside the column) seem to override the column settings?

There's no code needed in textbox Mousemove, but you do need to re-set the cursor when you jump to your link in the textbox Click. Consider how a link works: you do a mouse click, and an action occurs...
>
>Do you need to click into the actual grid cell to make the cursor change, i.e. to get the textboxs' attention? How can I make the cursor change by just moving the mouse over the link?

No, the column Mousemove takes care of everything...but all the link code goes in the textbox Click, as I said, whatever action it is that you want to occur, usually, but not necessarily, jumping to a new location of some sort...

Basically, there are three Methods:

1) Definemouse, to define the API functions in an Init()
2) Setmouse, to change cursor to hand
3) Resetmouse, to change cursor back
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform