Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VB to VFP 7
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
VB to VFP 7
Miscellaneous
Thread ID:
00799419
Message ID:
00799419
Views:
62
I was hoping someone could show me how to change the following code to VFP. I'm using version 7 for now. I know I need to create sometype of class so that I can capture the events. Do I have to use vfpcom.dll in 7 or is there another way?

Thanks
This simple example shows how to create a PopupAlertCore and display an alert.

'add to declarations
Private WithEvents Alert As PopupAlertCore

Private Sub Alert_Click(ByVal hRef As String)
Select Case hRef
Case "newmail"
'display new mail actions
End Select
End Sub
Next
Reply
Map
View

Click here to load this message in the networking platform