Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OnContextMenu on Web Browser control
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
OnContextMenu on Web Browser control
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01017904
Message ID:
01017904
Vues:
56
I have been trying to disable the right click context menu on a web browser active x control without success.
Note: I tried outerhtml, but that resulted in nothing displayed.

What am I doing wrong?
TEXT TO lcHtml TEXTMERGE NOSHOW PRETEXT 1+2
	<html>
	<head>
	<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
	<title>New Page 1</title>
	</head>
	<body oncontextmenu="return false;" bgcolor="#EDF8FE">
	<font size="1">
	<<lcHtmlContent>>
	</font>
	</body>
	</html>
ENDTEXT 
TRY 
	WITH this.pageframe1.page_advanced.tabs_expression.page1.olecontrol1.Document.body
		.innerhtml=lcHtml
		.bgcolor="#EDF8FE"
		.oncontextmenu="return false;"
	ENDWITH 
CATCH 
ENDTRY 
Répondre
Fil
Voir

Click here to load this message in the networking platform