Jump to content

nickosl50

Members
  • Posts

    42
  • Joined

  • Last visited

Posts posted by nickosl50

  1. Hello,

    I would like to ask how can I set at design time a TUniDbEdit control to  at an aggregate field of TFDQuery , since only normal fields are displayed when I try to set up the DataField property of TUnidbEdit control.

     

    I would be obliged if someone could give me some help.

     

    Thank you very much

     

     

     

    I found out that even if aggregate fields cannot be set at design time at the property DataField of TUniDBEdit control , if I Set them manually at runtime everything works !!

  2. Hi,

     

    You can see our demo examples

     

    Are you still using the trial edition?

    I looked at mdemo but I could not find an example for this issue. I only saw an example for custom cell color.

     

    Yes I am still using trial edition  because I have a look at Unigui part-time . I want to check out some things and most probably will move to full edition .

     

    Thank you

  3. Hi

     

    Take a look at :

    https://www.strato.com/en_gr/server/windows-vps

     

    you're own vps server for €11,- a month, all ssd disk,

    and unlimitted trafic.

     

    I have 2 windows vps servers at strato..works great and fast

     

    Also look at this post : http://forums.unigui.com/index.php?/topic/8863-a-good-cheap-cloud-hosting-company/&do=findComment&comment=45601

     

    regards Peter

    Since I use SQL Server 2014 , I wonder if there is an extra cost for the database for this provider , and how many SQL SERVER databases can I have.

     

    Thank you very much

  4. I am trying out UniGui and I would like to ask the following question

     

    Can I host a Uniqui application using Shared Windows ASP.net hosting like hostgator , goDaddy etc ?

    What hosting providers are used by other unigui users for their applications ?

     

    I would like to start with minimum cost ( using unigui and sqlserver ) and extend the hosting plan as more users will be using my app.

     

     

    Thank you very much

     

     

     

  5. Hi,

    I made a simple  Unigui app to send email to a recipient using my gmail account. While the Message subject appears correctly in Greek , the message body displays Greek char like ????. I use TIdSMP, TIdMessage and TIdSSLIOHandlerSocketOpenSSL.

     

    The code that sends email is the following:

     

     

    procedure Gmail(username, password, totarget, subject, body: string);
     
    var
      DATA: TIdMessage;
      SMTP: TIdSMTP;
      SSL: TIdSSLIOHandlerSocketOpenSSL;
      ErrorSendMail : string;
     
    begin
     
      SMTP := TIdSMTP.Create(nil);
      DATA := TIdMessage.Create(nil);
      SSL := TIdSSLIOHandlerSocketOpenSSL.Create(nil);
     
      SSL.SSLOptions.Method := sslvTLSv1;
      SSL.SSLOptions.Mode := sslmUnassigned;
      SSL.SSLOptions.VerifyMode := [];
      SSL.SSLOptions.VerifyDepth := 0;
     
     
     
      DATA.CharSet := 'ISO-8859-7';
      DATA.From.Address := username;
      DATA.Recipients.EMailAddresses := totarget;
      DATA.subject := subject;
      DATA.body.text := UTF8Encode(body);
      DATA.ContentType := 'text/html';
     
     
     
      SMTP.IOHandler := SSL;
      SMTP.Host := 'smtp.gmail.com';
      SMTP.Port := 587;
      SMTP.username := username;
      SMTP.password := password;
      SMTP.UseTLS := utUseExplicitTLS;
     
     
      try
         try
           SMTP.Connect;
           SMTP.Send(DATA) ;
         except on E:Exception do
           ErrorSendMail := '' + E.Message
         end;
      finally
         if SMTP.Connected then
          begin
           SMTP.Disconnect;
           SMTP.Free;
           DATA.Free;
           SSL.Free;
     
          end;
      end;
     
     
    end;
     
     
       I would appreciate if someone could give me a clue about the problem.
     
     
      Thank you very much

     

     

  6. You can use developer tools in the browser to see the index.html that generated by the server. Not all of your code generated to html at once, the Unigui works as web app ajax based, you google the web about ajax to understand how it works and learn at least basic web development to get the maximum of the framework.

     

    thank you very much for your help

  7. Why would someone modify Extjs js files? you can add custom js files to your project via servermodule.

    It's not recommended to modify Extjs files, if you want to do custom things to your component you can use the events: 'Unievents' / 'Extevents'.

     I just wanted to know where the generated javascript files (  delphi client code is converted to javascript files ) are stored in the disk , or are dynamically generated when application runs ? Also I would like to ask what is the difference between Unievents'   and  'Extevents'.

     

    Thank you very much for your help

    Nick Lazidis

  8. Hi,

     

    I would like to ask a general question.  I would like to ask where the generated ext.js javascript files are stored ? Can I modify them in some way or only via the Delphi IDE by adding and modifying ext.js client events. Are these files dynamically generated when unigui app runs and they are not saved anywhere?

     

     

    Thank you very much

    Nick Lazidis

  9.  

     
    I think you can use operations such as commit or rollback...

     

    I already have commit and rollback buttons in a toolbar outside the grid. What I would like to do is to make changes in one or more records in the grid without the Commit and Cancel buttons to appear in each row and after editing all the rows that I need to use the commit and rollback buttons of the toolbar in order to save all changes in the database or roll them back.

     

    The text in bold describes my problem.

     

    Thank you very much.

  10. I have a TUniDBGrid in which I wish to edit records on the grid using Roweditor=true property.

     

    I would like to ask if I can localize Confirm and Cancel button captions ( appear when I edit a row )  and also if i can disable the appearance of these buttons since I would like to allow the user to make changes in more than one row and have a Post button outside the grid that would apply all changes  to the database in one transaction.

     

     

    Thank you very much

     

×
×
  • Create New...