I think I found a bug, try to reproduce the problem in your own environment.
Component: TIWCGJQEdit
Properties:
Name := 'EditPassword';
PasswordPrompt := True;
WaterMarkOptions.Active := True;
WaterMarkOptions.Enabled := True;
WaterMarkOptions.Text := 'aaa';
1) If compiled like:
- Code: Select all
TIWStart.Execute(True);
then it works ok, EditPassword.text returns values
2) If compiled like
- Code: Select all
TIWStart.Execute(False);
a) it does not work if it is run as a service
EditPassword.text does not return value, aka:
- Code: Select all
webapplication.showmessage(EditPassword.text);
returns empty string even if EditPassword.text holds some data
b) it works ok if it is run with delphi project parameter /GUI (project options -> debuger -> parameters)
If options WaterMarkOptions.Active and WaterMarkOptions.Enabled are disabled then it also work in service mode.
ps: tracker doesn't seem to work so I am posting here.
Regards, Tomaž