Using a TIWCGJQFrame dialog with a TIWCGJQEdit on it
I use the Watermark option for the TIWCGJQEdit
When the dialog is first created the watermark shows the right text.
When i reuse the dialog the watermark property is overwritten but the text of the first call is shown.
- Code: Select all
if Assigned(FDialogFrame) then
begin
FDialogFrame.Free;
FDialogFrame.Init(AID, ATitle , ALabelText , AButton1Text , AButton2Text, AWaterMark);
FDialogFrame.IWFrameRegion.Visible:= True;
Exit;
end;
In the dialogs Init procedure
edtNotes.WatermarkOptions.Text := AWatermark;
Eric