Jump to content

Close Modal Olmaması


Recommended Posts

Guest Huseyin
Posted

Merhaba

Nedenini anlayamadığım için ve çok şey denediğim için buraya yazıyorum


procedure Tfrm_yazdir.UniBitBtn1Click(Sender: TObject);
begin
UniSession.AddJS('PrintMe('''+unihtmlframe1.JSName+'_id'')');
self.Destroy;
end;

 

ne close ne closemodal ne de self.destroy işe yaramıyor;

hatta bu butonun clickinden sonra showmodal kapanmıyor?

Neden olabilir?

Guest Huseyin
Posted

Çözdüm;

Self.webform.destroy ya da close demek gerekiyormuş hangisi işinize geliyorsa

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...