PDA

View Full Version : cWebFileUploadForm & pbEnabled



Jose
2-May-2014, 03:35 AM
Hi,

I am setting pbEnabled to False in a cWebFileUploadForm, I see how the form is shadowed, but I can still press the prompt of the form and upload a file. Is this expected?

Another question, can I set the psvalue of a cWebFileUploadForm like in a normal form?

Regards.

Harm Wibier
6-May-2014, 07:41 AM
Hi Jose,

You are right that the disabled state of the cWebFileUploadForm isn't properly implemented. I'll make sure that it will get fixed in the next build.

The cWebFileUploadForm doesn't have the psValue property but it can show existing files using the DisplayExistingFile procedure. The demo file upload in the WebOrder workspace has a button "Show existing file" demonstrating this feature.

Regards,

Jose
6-May-2014, 09:22 AM
Hi Harm,

Ok, I will pay attention to the next release to test "pbEnabled".

Also, I will check the WebOrder workspace to see if that is what I need.

Regards.