onClick="location.href='prg://test.prg with ['+this.name+']'"
In the BeforeNavigate2 event of your browser control you parse the URL for your self defined prg:// protocol, set the cancel property on true to avoid default behaviour of the event and call your programm to process the state of the checkbox. In my applications I am using the following code in the BeforeNavigate2 event of the browser control:*** ActiveX-Steuerelementereignis *** LPARAMETERS pdisp, url, flags, targetframename, postdata, headers, cancel LOCAL lcCommand,lcURL,lnParamPos lcURL = LEFT(url,6) IF (lcURL = "scx://") OR (lcURL = "prg://") cancel = .T. lcCommand = SUBSTR(url,7) IF RIGHT(lcCommand,1) = "/" lcCommand = LEFT(lcCommand,LEN(lcCommand)-1) ENDIF ENDIF DO CASE CASE lcURL = "prg://" lcCommand = "DO " + STRTRAN(lcCommand,"%20"," ") && aus der HTML-Seite kommen die Blanks als "%20" &lcCommand RETURN CASE lcURL = "scx://" DO FORM &lcCommand RETURN ENDCASEWith this code and the onClick event from above a programm "test.prg" would be called with the checked property as parameter. Of course you could vary this example to your needs by transfering the controls name or whatever...