Jump to content

ZigZig

uniGUI Subscriber
  • Posts

    352
  • Joined

  • Last visited

  • Days Won

    28

Everything posted by ZigZig

  1. ZigZig

    A mini-guide

    Some draft articles are online: - best practice - differences between MainModule, DataModule, ServerModule - how to improve loading time - how to create LiveBindable component - AddJS vs. JSCode vs. SendResponse - what avoid to do (draft) Please feel free to comment, correct and add articles: http://unigui.wikispaces.com ! (and please don't hesitate to correct my horrible English).
  2. ZigZig

    A mini-guide

    Hi, I created a Wiki at https://unigui.wikispaces.com/ (Wikispaces seems to be a good wiki hosting solution), and set access to public (no need to create an account, just like Wikipedia... but it is not recommanded to be anonymous when editing a wikipage). I put some ideas of topics, I'll try to post some articles this week-end. Please feel free to create/edit everything you want!
  3. You must have D2007 with all updates applied. The build number for Delphi 2007 Update 3 is 11.0.2804.9245 (http://delphi.wikia.com/wiki/Delphi_2007_for_Win32), your version is Delphi 2007 (11.0.2627.5503: first release without any update). You can get Delphi 2007 R3 here: http://cc.embarcadero.com/item/25001: Update 3 for Delphi 2007 for Win32 (original release, not for R2), all languages. PS: Google is your friend
  4. ZigZig

    A mini-guide

    Abaksoft, Let's do it! Too late for me today but I'll begin this (un)official Wiki tomorrow, unless Farshad says that he disagrees. PS : your French is better than my English!
  5. I have several uniGUI projects running in production for 2 years, all of them are hosted on Contabo VPS. My impressions : Pros : Price : Contabo is the cheapest VPS provider I ever found. Support : not extremely fast, but you always get an answer in the day. Stability : 0 problem since 2013. Cons : Performance: Contabo VPS is clearly not the fastest offer (vCPU are not so fast). I recommand VPS XL only (smaller VPS is too slow for uniGUI) Control panel/Monitoring/Add-ons : you just get low cost control (it is impossible to resize a machine, the monitoring is not very efficient, the asynchronous FTP cache is very disturbing...) But for that price, you won't find better ! My three cents...
  6. ZigZig

    A mini-guide

    Hi Abaksoft (and everybody), Maybe we could create and fill a wiki site about uniGUI best practices (something like http://unigui.wikispaces.com, which I created for example) - if Farshad agrees ? So we could already share "our" best practices, tips & tricks in a structured way,and let the uniGUI community, Farshad and FMSoft team add, fill and/or correct articles. I already did this for my company (a french-spoken Wiki into our Intranet) and it allowed employees to easily understand and practice uniGUI. I can eventually translate and share our articles.
  7. Maybe something like that? Declare a pointer to a record which contains all the fields you need. type PMyRecord = ^TMyRecord; TMyRecord = record MyStringField: String; MyIntegerField: Integer; MyDateTimeField: TDateTime; MyTGUIDField: TGUID; //... end; Assign an instance of this pointer to each node of your tree. var MyRecordPointer:PMyRecord; MyNode:TUniTreeNode; begin //In a loop... MyNode:=MyUniTreeView.Items.Add(nil, 'myNodeCaption'); New(MyRecordPointer); MyRecordPointer^.MyStringField:='uniGui'; MyRecordPointer^.MyIntegerField:=99; MyRecordPointer^.MyDateTimeField:=now; MyRecordPointer^.MyTGUIDField:=TGUID.Empty; MyNode.Data:=MyRecordPointer; //Loop... end; Get the values of the record linked to a node whenever you want. ShowMessage(PMyRecord(MyUniTreeView.Selected.Data)^.MyStringField); DecodeDate(PMyRecord(MyUniTreeView.Items[0].Data)^.MyDateTimeField, MyYear, MyMonth, MyDay); //...
  8. Why don't you use a pointer to a record with TUniTreeNode.Data property? I think that it is the best practice to achieve what you need.
  9. Hi José, This one seems to work perfectly: http://YourIP:YourPort/nisjtdr/jtdragencia.dll/server Did you correctly set your IIS for your webadm app (by adding webadm.dll into ISAPI and CGI restrictions)? Edit: IP removed on José's request.
  10. Hi, Nothing is wrong: there is no more VCL mode for 2 years now...
  11. Use HTML/CSS syntax, like this: MyUniTreeNode.Text:='<span style="cursor:pointer">' + MyValue + '</span>'; Note that cursor:hand gets the same result as cursor:pointer, but won't work in Firefox... (source: http://forums.unigui.com/index.php?/topic/2227-how-to-make-the-cursor-in-a-column-in-an-unidbgrid-become-the-shape-of-a-hand/?hl=cursor)
  12. Thanks 2rib, but I think that this solution is not a good way for referencing tools or search engines (like Google). A better way to achieve the same result is by using URL Rewrite on server side: http://www.iis.net/downloads/microsoft/url-rewrite . Hope it'll help
  13. gloubiboulga Edit 2014/12/15 : thanks for the English translation
  14. Hi Farshad, Same as rsanford for me: I can easily use an Azure VM, no problem. But I would like to deploy my ISAPI dll directly to an "Azure Web Role", using Visual Studio package (or something like that). I didn't find usable explanations on how to do that from Delphi world... Thanks a lot.
  15. I think that UniPageControl.OnChange will catch an event when the ActivePageIndex changes.
  16. Hi Erich, See http://forums.unigui.com/index.php?/topic/2892-anyone-having-this-problem/?p=13428. Don't hesitate to use the Search engine of this forum: it works pretty well
  17. Did you try to use a simple Pos() function ?
×
×
  • Create New...