Jump to content

Abaksoft

uniGUI Subscriber
  • Posts

    1558
  • Joined

  • Last visited

  • Days Won

    87

Everything posted by Abaksoft

  1. So, if i understand a simple Frame on a Main form parent (wich is thread safe) is just enough. This frame will be thread safe ? Is it true ? Thx...
  2. Thank you very much... Best Regards.
  3. Hi Farshad, Is it true, otherwise can i add a form instance like this : function UniFrame1: TUniFrame1; >>> GetFormInstance As : unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uniGUITypes, uniGUIAbstractClasses, uniGUIClasses, uniGUIFrame; type TUniFrame1 = class(TUniFrame) private { Private declarations } public { Public declarations } end; function UniFrame1: TUniFrame1; implementation {$R *.dfm} uses MainModule, uniGUIApplication; function UniFrame1: TUniFrame1; begin Result := TUniFrame1(UniMainModule.GetFormInstance(TUniFrame1)); end; end. thx...
  4. Oh...sorry i did'nt explain well, Here is a simple OOP sample, wich describe a classical inhireted classes. unit Class_Bird; interface uses Class_Animal; type TBird=Class(TAnimal) private fWeight:integer; procedure SetWeight(value:integer); public error:boolean; Constructor Create; function eat:string; override; published property Weight:integer read fWeight write SetWeight; end; implementation { TAnimal } function TBird.eat:string; var str:string; begin // fWeight in gr if fWeight<1000 then str:='And I need 50 seeds per day !' else if (fWeight>=1000) and (fWeight<2000) then str:='And I need 80 seeds per day !' else str:='And I need 100 seeds per day !'; result:=inherited + #13+ str; end; If i try to write this in an Unigui Thread Safe Unit , the recommended solution is to use UniGui DataModule. The problem is that I can'nt inhereted my Class TBird from TAnimal, firstly and from TDataModule on the other hand ! type TBird=Class(TAnimal) ??? TBird=Class(TDataModule) ??? In others words, How can I inhereted a TDataModule Class1 from an other TDataModule Class2 ? (each class is declared on separate DataModule). Thx... Animal.zip
  5. Hi Farshad, To simplify coding, i am using LiveBinding on my UniFrame (which is thread safe). Now, is LiveBindings ThreadSafe ? in the uses i see : System.Bindings.Outputs, Vcl.Bind.Editors, Vcl.Bind.DBEngExt, Data.Bind.Components, Data.Bind.DBScope, Data.Bind.EngExt, System.Rtti; It works fine on my computer (exe file). But what happens in production (dll on a server) ? Thx... Delphi XE3 + 0.99.1182
  6. Hi Farshad, In the same optic of : http://forums.unigui.com/index.php?/topic/5116-is-a-standard-delphi-unit-thead-safe/?hl=thread+safe I created a DataModule unit and write there my Class : Unit scool; Type Tscool=class(DataModule) I do this to insure that all my funtions will be thread safe. Ok, now how can i inherite Tscool from an other thread safe class ? Can i do some think like: Type Tscool = Class(TUniversity) And create only University unit as a DataModule ? Thx...
  7. Thanks valadi It's useful.
  8. Hi, thank you skepsis. If i understand, the protection below requires knowledge customer's computer (serial ID,...) which does not conform to the web concept (universal client end user machine) ! I think a good way is a simple login form. See adragan topic #4 http://forums.unigui.com/index.php?/topic/5326-bad-customer-how-to-kill-his-vps-db-connexion/ Regards.
  9. DocJones ! I did'nt test it; but that what we were expecting for. Big Thanks... +1
  10. Add your calculated Field directly on your sql statment. "Select ....,Field1 || Field2 as MyURLField From..." And declare MyURLField as a persistant Field (Data) on your ClientDataSet or QueryDataSet. I used this well in the past with UIB, as it don't support Calculated Field. Regards.
  11. If you mean in coding, not running mode, Yes it's possible. But you have to take care of "Thread safe". http://forums.unigui.com/index.php?/topic/5116-is-a-standard-delphi-unit-thead-safe/?hl=standard+unit Regards.
  12. SEO : Nothink since ? Is there a tip to put down manually some key words on google search ?
  13. Hi MarkB, Are you looking for some think like : https://www.google.dz/url?sa=t&rct=j&q=&esrc=s&source=web&cd=3&cad=rja&uact=8&ved=0CC4QFjAC&url=http%3A%2F%2Fwww.cgm.com%2Fpl%2Fprodcuts___solutions%2Fhospital_information_systems%2Fcgm_clininet_erp%2Fcgm_clininet_erp.pl.jsp&ei=c5VkVbWsBuu1sASjw4HIBg&usg=AFQjCNG2-Itdf93FlHKq7OBzGbhwwhxH_w&bvm=bv.93990622,d.ZGU Me too )
  14. See : 1. Developer's Guide http://www.unigui.com/resources/online-documentation Web Deployment > Isapi Module 2. Chee Yang Chau article http://chee-yang.blogspot.com/2009/10/configure-windows-7-iis7-for-isapi-dll.html Regards.
  15. Hello wilton See http://forums.unigui.com/index.php?/topic/5326-bad-customer-how-to-kill-his-vps-db-connexion/ You can use Adragan tip in #4. Regards.
  16. My respect Alessandro Carrara, Why don't you use a login form ?
  17. Hi Alessandro, You can see the Demo project. There is an exemple. Regards...
  18. Good to hear that. And good feedback for Farshad. All the best...
  19. Hello BLACKBIRD, AFAK (As far as i know), it's not limited in time. Did you restore your system before yesterday ? 1. Try to un-install Unigui from control panel 2. Re-install it again. Regards...
×
×
  • Create New...