Jump to content

Hayri ASLAN

Moderators
  • Posts

    1578
  • Joined

  • Last visited

  • Days Won

    134

Everything posted by Hayri ASLAN

  1. Merhaba Söylemiş olduğumu uyguladınız mı
  2. Merhaba İlgiliform.showmask yapınız. Mainmodule.enablesyncoperation true olmalı yalnız.
  3. Merhaba Aşağıdaki kodu customcss içine yazar mısınız @media print{@page {size: landscape}}
  4. Merhaba, kod ile fullscreen yapmanız mümkün değil. Mutlaka kullanıcının kendi isteği ile olması gerekiyor. Yoksa her girdiğimiz site fullscreen reklam oynatırdı.
  5. please change this according to your delphi version. CustomPack*.dpk requires rtl, vcl, uniGUI20Core, <---- uniTools20, <---- uIndy20, <---- vclimg, vclie, VclSmp, vclx, vcldb, dbrtl;
  6. CopytoClipboard will not work in browser like vcl application. Using this function directly copy text to clipboard of server, not client document.execCommand('copy') must be triggered by the user. It's not only from the console, it's anywhere that's not inside an event triggered by the user. Due to this reason btnCopyToClipboard.ClientEvents.ExtEvents.Values['click'] must be defined in UniFormCreate. Solution : btnCopyToClipboard.ClientEvents.ExtEvents.Values['click']:='function click(sender, e, eOpts) '+ ' { '+ ' var textarea = document.getElementById("'+memSummary.JSName+'_id-inputEl"); '+ ' textarea.select(); '+ ' try { '+ ' var successful = document.execCommand(''copy''); '+ ' if(successful) console.log(''Copied!''); '+ ' else console.log(''Unable to copy!''); '+ ' } catch (err) { '+ ' console.log(''Unsupported Browser!''); '+ ' } '+ ' }'; Select All : UniSession.AddJS(' var textarea = document.getElementById("'+memSummary.JSName+'_id-inputEl"); '+ ' textarea.select(); ');
  7. Merhaba, http://forums.unigui.com/index.php?/topic/7260-play-video/ burdaki örneği inceleyin lütfen.
  8. var form1 : TFRM_Tah_Ted; begin form1:=TFRM_Tah_Ted.create(UniApplication); form1.showmodal; var form2 : TFRM_Tah_Ted; begin form2:=TFRM_Tah_Ted.create(UniApplication); form2.showmodal; . . .
  9. Merhaba Kullanmış olduğunuz sürüm nedir?
  10. Merhaba, Bunun için HTTP Post Callback - URLFrame - Auto Target demosunu inceleyin. Daha önce yapmadım ama bildiğim kadarıyla bir web servise gerekli bilgileri gönderip işlem başarılı yada başarısız olduğunda geri döneceği adresi belirtiyorsunuz. Burda kilit nokta aşağıdaki koddur. Sc:=UniSession.CallbackUrlEx('mycallback', Self, ['RES', 'OK']); S:=StringReplace(S, '{URL_CALLBACK}', Sc, []); Sc:=UniSession.CallbackUrlEx('mycallback', Self, ['RES', 'CANCEL']); S:=StringReplace(S, '{CANCEL_URL}', Sc, []);
  11. use UniSession.AddJS instead of UniSession.JSCode
  12. You want PivotGrid. This request in our wishlist.
  13. please look at the Property Grid demo. this was done.
  14. Hi, Application Form : function UniForm1: TUniForm1; implementation {$R *.dfm} uses MainModule, uniGUIApplication; function UniForm1: TUniForm1; begin Result := TUniForm1(UniMainModule.GetFormInstance(TUniForm1)); end; Free Form: var UniForm1: TUniForm1; implementation {$R *.dfm} uses MainModule, uniGUIApplication;
  15. Merhaba Application.ProcessMessages Unigui karşılığı UniSession.Synchronize() dir.
  16. Merhaba, LoginForm.OnReady içine aşağıdaki kodu yazınız. UniSession.AddJS('document.body.style.backgroundSize = "cover";');
  17. Iframe içindeki veriye ulaşamazsınız. Ancak iframe içinden uygulamaya değer gönderebilirsiniz. (HandleEvent)
  18. notepad++ kullanarak bütün .dfm dosyalarını açın. Bul ve değiştir kullanarak hepsini tek seferde düzeltip kaydedin.
  19. Merhaba, HTTP Post Callback - HTMLFrame demosunu inceleyiniz.
  20. Hi, As i understand you trying to set emptyText in runtime. Try this code in Combobox.OnSelect Uniedit.EmptyText :='Changed'; UniSession.AddJS(Uniedit.JSName + '.emptyText = "'+Uniedit.EmptyText+'"; '+Uniedit.JSName +'.applyEmptyText();');
  21. Hayri ASLAN

    richedit

    Hi Demo is here : http://hayriaslan.net:8079/
  22. hi please check "Demos\Desktop\GridCheckSelect"
×
×
  • Create New...