how can i set value for a checkbox via FillForm method ? I tried these but doesn't work :
W.FillForm('Chkname', 'True');
W.FillForm('Chkname', '1');
W.FillForm('Chkname', '', 1);
how can i set value for a checkbox via FillForm method ? I tried these but doesn't work :
W.FillForm('Chkname', 'True');
W.FillForm('Chkname', '1');
W.FillForm('Chkname', '', 1);
Copyright © 2021 Jogjafile Inc.
Quite late, I know, but I'll try to answer this since it's a good question and since even the current version of the
TEmbeddedWB
doesn't have this feature implemented.However you can add your own function for doing this; in the following example I'm using the interposed class of
TEmbeddedWB
where I overloaded theFillForm
function with the version which supports check box and radio button filling.If you would like to set the check box or select some radio button call this version of function, where:
Here is the code:
And here a basic example of usage: