Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Label control
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00527963
Message ID:
00527964
Views:
31
In VFP7, the commandbuttons' SpecialEffect property supports "Hot Tracking". In this mode, the button looks like a label unless it either has focus or the mouse is hovering over it. While that doesn't fix the situation in VFP6, having that knowledge might delay your need to fix the problem until VFP7 makes it easy for you.



>There must be a workarround, somwhere for this...
>
>I have a few labels, I use as buttons. I set the captions, and in the click event I put some code, to launch code.
>
>the captions, I just added a \< to enable hot keys. I can hot key to the label, (the color changes, a little,) but to actually get it to do anything I have to use the mouse click.
>
>Since there is not a keypress method on the label control ... and I have not found a way to put one there. I am stuck.
>
>I would really rather not use the button control, for aesthetics.
>
>But I find it strange you can hot key to a label.caption, but can't get it to activiate the click method.
>
>any suggestons. ?
>
>Bob Lee
"Problems cannot be solved at the same level of awareness that created them." - Albert Einstein

Bruce Allen
NTX Data
Previous
Reply
Map
View

Click here to load this message in the networking platform