<form method="POST" action="/bbPortal/default.asp?action=buttonclicked"> <div style="position: absolute; top: 108; left: 10; width: 237; height: 168"> <span style="position: absolute; left: 170; top: 114"> <input type="image" name="ButtonUp" border="0" src="../../images/up.gif" width="14" height="14" alt="Move Up In List"></span> <span style="position: absolute; left: 170; top: 135"> <input type="image" name="ButtonDn" border="0" src="../../images/dn.gif" width="14" height="14" alt="Move Down In List"></span> </div> </form>From main.prg I have code as:
CASE oProp.Action == 'buttonclicked' * code here to check which button was clickedWhat I cannot figure out is how to get the button that was clicked.
FOR EACH lcFormVar IN oRequest.oRequest.FORM cButton = oRequest.Form(lcFormVar) ENDFORbut cButton returns a number that is different every time so I cannot find out which button was clicked.