Jump to content

dieger

uniGUI Subscriber
  • Posts

    54
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by dieger

  1. Another Ribbon sample: http://forums.unigui.com/index.php?/topic/5319-ribbon-menu/
  2. Maybe this section is more appropriate: http://forums.unigui.com/index.php?/topic/5319-ribbon-menu/?p=27224
  3. Hi, Alternative method: UniSession.AddJS(UniDBGridName.JSName + '.headerCt.forceFit=true;'); (Set OnCreate or OnShow event)
  4. Hello everyone, I am sharing my version of Ribbon Menu (such as Office) and created from various internet examples with ExtJS 4. I have received several requests over time and I apologize for not having found the time to build something that could be easily understood (my first version was in ExtJS 3 and created from a complex code, out of uniGUI) . I hope you enjoy, and be involved in the evolution of this example. (This sample was made with Delphi XE7 and uniGUI Pro 0.99.0.1169) RibbonMenu.zip
  5. Is there any way to detect the version of the framework that is installed? We have units with shared among different projects using version 0.89 and version 0.95 features in different machines. For example, in previous versions we used ObjName.ExtControl and the latest version is the syntax ObjName.JSControl and with {$IFDEF} we can treat these cases. Thanks
  6. What is your browser? I´m using google chrome frame inside IE and applications runs fast up. http://www.google.com/chromeframe
  7. Hi Farshad, I´m setting this code on OnCreate event of a frame: FormRegion.ExtControl.JsCode ('autoscroll: true'); This provide a great option to design pages with scroll funcionallity inside the main form loading frames inside it. But It is possible to provide the AutoScroll property on a TUniFrame at design time to build frames with size larger than the screen? Acctualy i need to maximize form at design time to show the all form components, because the scroll functionally is not allowed. This can permit for example to develop a login page inside a frame before show the main form (that can reside in another frame) and allow developer to design larger forms like traditionall web pages. Ps.: i´m using mfPage model. Thanks! ScrollPage.zip
  8. Not a component, but I'll see if I can turn it into one. As it is, I call several methods and events to build it.
  9. Hi KingOrmon, I developed this toolbar in my application uniGUI manually using the extension "Ext.ux.Ribbon.js." I'm still using ExtJS 3 and do not know if something changed to version 4. It was a bit tricky, but if you want I can help you build yours. I'm posting a picture.
  10. Pra ser sincero, não acredito muito que deva parar. É um ótimo projeto e acho que em breve ele deve anunciar algum investimento externo (Embarcadero, por exemplo) ou reestruturação do time de desenvolvimento da sua empresa (ou até fazer um anúncio de uma versão comercial). Seria uma pena que este excelente framework fosse descontinuado.
  11. KingOrmon, This is not the best way to solve this, but while Mr. Farshad don´t indicate the best solution you can try this to force resize again: procedure TMainForm.UniBitBtn1Click(Sender: TObject); begin UniImage3.Picture.LoadFromFile(GetModulePath(HInstance)+'\SunSet.png'); Width := Width + 1; Width := Width - 1; end;
  12. Sorry KingOrmon, I have copied a code from a frame. Try it on MainForm for example: Self.WebForm.ReCalculateAligns; Regards.
  13. Try, Self.FormRegion.ReCalculateAligns;
  14. Where is your Database component? Same form, another data module?
  15. dieger

    How to start?

    You need to configure your webserver (IIS in this case). try this: http://www.unigui.com/doc/online_help/index.html?iis_6_0.htm
  16. I think that isn´t possible because of security. The problem is that browsers don't allow you to get the mac address, because it would allow users to be identified uniquely. In IE you can get around this by writing an ActiveX control, and script that with javascript (which you did), but ActiveX is something only available in IE on Windows. Other solution can be a Java applet. Code to IE: var macAddress = ""; var ipAddress = ""; var computerName = ""; var wmi = GetObject("winmgmts:{impersonationLevel=impersonate}"); e = new Enumerator(wmi.ExecQuery("SELECT * FROM Win32_NetworkAdapterConfiguration WHERE IPEnabled = True")); for(; !e.atEnd(); e.moveNext()) { var s = e.item(); macAddress = s.MACAddress; ipAddress = s.IPAddress(0); computerName = s.DNSHostName; }
  17. try http://forums.unigui.com/index.php?/topic/1290-sessions/page__p__8766__hl__session__fromsearch__1#entry8766 or procedure TMainForm.UniBitBtn1Click(Sender: TObject); var I : Integer; ASessionList: TList; ASession : TUniGUISession; begin memo1.Clear; ASessionList:=UniServerModule.SessionManager.Sessions.SessionList.LockList; try for I := 0 to ASessionList.Count-1 do begin ASession := TUniGUISession(ASessionList[i]); if not ASession.IsTerminated then memo1.Lines.Add( ASession.UniApplication.RemoteAddress ); end; finally UniServerModule.SessionManager.Sessions.SessionList.UnlockList; end; end;
  18. Hi Farshad, Is UniServerModule.Logger thread safe? Can I use this option in production to add some logs from different and simultaneous sessions? Thanks
  19. My server is Windows 2008 server + IIS 7.5 64bits too and everything is working fine. Besides trying a blank uniGUI, also try to compile a simple WebBroker ISAPI project to test your settings.
  20. Hi, Try to follow the links above to configure ISAPI on IIS7: http://www.unigui.com/doc/online_help/index.html?iis_5_1.htm or maybe this, http://chee-yang.blogspot.com.br/2009/10/configure-windows-7-iis7-for-isapi-dll.html Regards
×
×
  • Create New...