I use a lot of Frames containing a dialog:
- Code: Select all
TFrmTaakDetails2 = class(TIWCGJQFrame)
IWFrameRegion: TIWCGJQDialog;
The IWFrameRegion has a OnCloseDialog event:
- Code: Select all
procedure TFrmTaakDetails2.IWFrameRegionJQDialogOptionsClose(Sender: TObject;
AParams: TStringList);
begin
WebApplication.ReleaseForm(Self);
end;
All Dialog Buttons have a
- Code: Select all
IWFrameRegion.Visible:= False;
In its OnCLick event
Strange behaviour i have is that on Some IWFrameRegion.Visible:= False; the CLoseDialog event is not called!
This means that if i call the dialog again i get the error the dialog is already there
<<<<<New>>>> Half day later
On the second button i have no code at all, only an empty Eventhandler
What do i see? The page is refreshed!!! I mean the page that initialised the Dialog is beeing refreshed!
| really do not see how this is coming!
This could also be the reason the Close eventhandler is not called when i put the IWFrameRegion.Visible:= False; back into the OnCLick eventhandler of this button
Eric