Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Showing Hyperlink
Message
 
To
14/10/2002 10:34:37
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00710903
Message ID:
00710985
Views:
14
Use a label
DEFINE CLASS lbllink AS lbl

  AutoSize     = .T.
  BackStyle    = 0
  Caption      = "Email Me"
  MousePointer = 99
  MouseIcon    = "h_point.cur"
  ForeColor    = RGB(0,0,255)
  cUrl         = "someone@somewhere.com"
  Name         = "lbllink"

  PROCEDURE Click
    This.Navigate(This.cUrl)
  ENDPROC

  PROCEDURE Navigate
  LPARAMETERS cUrl

    DECLARE INTEGER GetDesktopWindow IN WIN32API
    DECLARE INTEGER ShellExecute IN SHELL32 ;
	INTEGER, STRING, STRING, STRING, STRING, INTEGER

    hWnd = GetDesktopWindow()

    ShellExecute( hWnd, 'open', cUrl, '', '.', 5)

  ENDPROC

ENDDEFINE
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Previous
Reply
Map
View

Click here to load this message in the networking platform