Jump to content

Farshad Mohajeri

Administrators
  • Posts

    12099
  • Joined

  • Last visited

  • Days Won

    801

Everything posted by Farshad Mohajeri

  1. Use a tool like firebug to investigate its id.
  2. 1) No. Ext4 generates conventional DOM. Ext.dd.DragDrop is also available in Ext3. One may be able to implement it. I can't say yes or no at this stage because I can't dedicate much time to investigate possibility of D&D in Ext JS or uniGUI. 2) We have Script property in UniForm where you can put custom JS code.
  3. Not always. Please note that your article is for HTML5 not regular DOM. it is for Ext.dd.DragDrop component which currently have no equivalent in uniGUI. Ext JS implements almost all major events. It is not easy to extend JS new events from Delphi code.
  4. OK. I understand him now. Yes above code is the only way to retrieve info from an embedded iframe. In uniGUI iframe id is "iframe_"+(Delphi Name) Conisder you have UniUrlFrame1 on Form. Its web id is iframe_UniUrlFrame1
  5. We have StripeRows property.. It may not be much visible on LCD monitors. You can play with related CSS code in theme CSS file and make it more visible.
  6. I really don't understand what you want to achieve. Do you want to retrieve "id" of TUniUrlFrame? If yes for what purpose? Please explain your problem in more details.
  7. What is the type of DragDrop object? DropTarget.ClientEvents.ExtEvents.Add( 'Ondragenter=function dragEnter(e){e.stopPropagation();e.preventDefault();}' ); Ondragenter?? Is this event supported by Ext JS? Your above syntax only works for predefined events in Ext JS. Besides your referred article is about D6D in HTML5 not in Ext JS.
  8. Next build will add HTML property to TUniUrlFrame which allows directly adding HTML content to UrlFrame.
  9. if WebMode then begin end;
  10. It can only be accessed in webmode.
  11. Buttons are drawn using CSS theme. You need to play with CSS theme, but this will affect all buttons.
  12. Yes, you must add this: if WebMode then begin end;
  13. Folder name which is same as UniApplication.SessionId contains all cache files for that session. Where do you set this? You must set this in Form.OnCreate event.
  14. Why do you need client side coloring?
  15. When you write a custom renderer you need to handle all formatting tasks in your renderer method, because your renderer replaces the uniGUI default renderer.
  16. Yes, it is a problem. Actually, we must remove Animate parameter in future. It confers with the way Modal forms work in uniGUI.
  17. Aldıınız host VPS değilse olmaz. Remote Desktop bağlantısı var mı? Doğrudan bağlanıp IIS ile ilgli ayarları yapacaksınız.
  18. Nasıl bir host bu? Shared host ise olmaz.
  19. You should not loop inside the renderer function. Renderer function is called per each cell. You don't need using a loop there.
  20. You can use all types of databases supported in Delphi.
  21. For each column you need to write a proper renderer function in JS. function OnReconfigure(sender, store, colModel) { colModel.getColumnById(1).renderer=function(val, metadata, rec, row, col, store) { if (row==0) metadata.attr='style="background-color:green;"'; return val; }; colModel.getColumnById(2).renderer=function(val, metadata, rec, row, col, store) { metadata.attr='style="background-color:green;"'; return val; }; }
  22. There two ways. Using cookies and HTML5 storage.
  23. Try this for DBGrid.ExtEvents onReconfigure JS Event: function OnReconfigure(sender, store, colModel) { colModel.getColumnById(1).renderer=function(val) { return '<span style="color:green;">' + val + '</span>'; }; }
  24. Program desktop'da çalışırken localhost:8077'den girebiliyor olmanız lazım. Olmazsa 127.0.0.1:8077 den deneyin. //{$define UNIGUI_VCL} // Comment out this line to turn this project into an ISAPI module' Üstteki satırı kapattığınıza DLL üretir, açtığınızda EXE. Yalnız XE2'de her değiştirdiğinizde projeyi kapatıp açmanız lazım. DLL dosyası tabiki localhost'dan çalışmaz . Delphi DLL'i çalıştırmaz. Önce IIS'e aktarmanız lazım. Sonra http:/localhost/sanalklasor/dlldsoyam.dll şekline çalıştırmanız lazım. IIS'e aktarmayı dokümanlarda anlatmışız. Oraya bakın tekrar. IIS'a DLL kurulumu hakkındaki dokümanı okuyun önce. IIS'e aktarmak çok kolay bir iş değil. Önce sanal bir yol/klasör açmanız lazım. Dokümana bakın önce. Aşama aşama uygularsanız olacak.
  25. Ext JS Setup installs everything in 3.4.0 folder. You can create a ZIP out of it.
×
×
  • Create New...