Jump to content

rencarnacion

uniGUI Subscriber
  • Posts

    633
  • Joined

  • Last visited

  • Days Won

    14

Posts posted by rencarnacion

  1. Why don't you use UDL files ?

    Is easy to use than INI files

    Example :

     

      dbConecta.Close;
      dbconecta.ConnectionString :=
        'FILE NAME=' + UniServerModule.StartPath + '\Files\dbConecta.udl';
      dbconecta.Open;

     

     

  2. Hi, I had Just Updated to the last version of Unigui and Extjs from the download area, then Now I'm having problem with the frames,now I can't use it because I can't select it from the Frame Select, But If I use Delphi 2010 I can Use it .

     

    I'm using now Delphi XE2.

    Is it a bug ? or is different in XE2 ?

     

     

    Thanks

     

    Ronny Encarnacion

     

     

     

  3. Hi, I try  to do it like explain above but I can't find this in the DMF

    "Change Theme in unimainmodule.dmf  (object UniMainModule: TUniMainModule  Theme = 'yellow')"

    So please could tell me how I can do it ?

     

    Thanks

     

    Ronny Encarnacion

  4. Here like I do.

     

    Do not Forget to put in Use : ppPDFDevice , ppXLSDevice;

    Uses ppPDFDevice , ppXLSDevice;

     

     

    procedure TUniMainModule.Imprimir(ReporteSalida: TppReport);
    var
      lPDFDevice:    TppPDFDevice;
      CacheFileName: string;
    begin

      // creat and configure the PDFDevice
      lPDFDevice    := TppPDFDevice.Create(nil);
      CacheFileName :=  UniServerModule.LocalCachePath + 'Reporte.pdf';

      try
        lPDFDevice.PDFSettings := ReporteSalida.PDFSettings;
        lPDFDevice.FileName    := CacheFileName;        // assign output stream
        lPDFDevice.Publisher   := ReporteSalida.Publisher;

        // generate the report

         ReporteSalida.PrintToDevices;
         UniSession.SendFile(CacheFileName);
      finally
        lPDFDevice.Free;
      end;

    end;
     

  5. English Brother  please.

    By Unigui you Can't get the Computer name you should try by using a java applet.

    " Por Unigui no podras conseguir el nombre de la PC solo si lo haces atravez un Java Applet"

     

    Yo se que estas en el area de Español pero por aqui no te vas a conseguir una respuesta rapida

     

    But please the next time try to answer in English

  6. Hello I'd like to know how I can avoid that the form goes out from the perimeter of the main form.

    When it happens then I can't move the form back because I can't minimize or maximize.

    In these message I send you an example of  what I'm saying.

     

     

    Thanks for you help

     

     

     

     

     

    post-922-0-62630700-1372174517_thumb.png

  7. Hello, I'd like to know if somebody is having problem when saving data from datagrid to database.

    The problem is that when I save data in a datagrid and then I make a query to the same table I can't see the change that I made but when I close the Form I can see the change that I made in the datagrid.

    Is like the grid work like client dataset and when the close it make a ApplyUpdate.

    Is there any way to save the data from the dbgrid immediately to the database.

    Please help me with these Issue.

     

    Thanks

     

     

    Ronny Encarnacion 

     

     

     

  8. You should explain better what you really want to do.

    I guess that You want filter to the data of  the Query  that report is Using , so You must to put parameters  to the query and you can filter when ever you want

    But Again Explain Better what you really want to Do 

     

    Ronny Encarnacion 

×
×
  • Create New...