e-mail adresses
Can anyone tell me if it is possible to incorporate and use e-mailadresses from Xbase++ fields (with FWH) iand if yes how to do it?
#include "FiveWin.ch"
function Main()
local oDlg, oSay, oCursor
DEFINE CURSOR oCursor HAND
DEFINE DIALOG oDlg
@ 2, 2 SAY oSay PROMPT "test@gmail.com"
oSay:lWantClick = .T.
oSay:bLClicked = { || ShellExecute( oDlg, "Open", "mailto:" + oSay:GetText(),,, 0 )
oSay:oCursor = oCursor
ACTIVATE DIALOG oDlg CENTERED
return nil
#include "FiveWin.ch"
function Main()
local oDlg, oGet, oCursor, cEmail := "test@gmail.com "
DEFINE CURSOR oCursor HAND
DEFINE DIALOG oDlg
@ 2, 2 GET oGet VAR cEmail
oGet:bLClicked = { || ShellExecute( oDlg, "Open", "mailto:" + oGet:GetText(),,, 0 ) }
oGet:oCursor = oCursor
ACTIVATE DIALOG oDlg CENTERED
return nil
Return to FiveWin for CA-Clipper
Users browsing this forum: No registered users and 3 guests