Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to read values of image buttons
Message
De
29/12/2004 12:11:18
 
Information générale
Forum:
Visual FoxPro
Catégorie:
ActiveVFP
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00972203
Message ID:
00972984
Vues:
12
Hi Claude

I will test your code and see. Thanks for it.

On another note I visited the ActiveVFP site to see what's doing. Surprise!
It says that the version is Version 3 and so does the documentation. But no link to download. Also the link to download the ver 2.11 is dead: the link points to:
http://www.levelextreme.com/wconnect/wc.dll?FournierTransformation~2,2,15647

and the error is :
Unhandled Request
The server is not setup to handle this type of Request: FOURNIERTRANSFORMATION

I think the link should be:
http://www.levelextreme.com/wconnect/wc.dll?LevelExtreme~2,2,15647 as this downloads ver 2.11

So when are you releasing 3? And the link to download is...?


>I think this gets everything:
>
>oResponse.Write('<br><center><h2>Request Object</h2></center>')
>oResponse.Write(c_table_tag)
>oResponse.Write('<Caption><b>Form variables</b></Caption>')
>oResponse.Write(lcTableHdr)
>for lnI = 1 to oRequest.Form.Count
>	oResponse.Write(c_tr_tag + '<td>')
>	oResponse.Write(oRequest.Form.Key(lnI))
>	oResponse.Write('</td><td>')
>	oResponse.Write(oRequest.Form(lnI).Item())
>	oResponse.Write('</td></tr>')
>endfor
>oResponse.Write('</table>')
>
>>>I think you need to test each one and see if it's empty or not (see previous code supplied). Have you tried that?
>>
>>your previous code supplied:
>>
>>
>>IF ! EMPTY(oRequest.form('r1b2'))
>>    oResponse.Redirect(oProp.ScriptPath+[?action=r1b2routine])
>>ENDIF
>>
>>
>>The thing is that I want to create a generic routine to handle button clicks from a form. So I dont need to know the variable "r1B2". I have solved the problem with normal button clicks but with image buttons it appears different.
>>
>>Basically could you point me to some link that explains how the Request collection object can be read by VFP.I believe the syntax is different from say VB.
>>
>>Thanks for your prompt reply.
>>
>>Bernard
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform