Jump to content

rasaliad

uniGUI Subscriber
  • Posts

    130
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by rasaliad

  1. Eduardo,

     

    For the height of UniEdit what i did was to change the font to 18 pixel, and it is doing well in my devices, i am testing with an Intermec CN70 with resolution 480x640 and a nexus 7". I also use the anchors to to adjust the layout and is doing very well.

     

    Regards,

     

    Rafael Liriano 

  2. Hi Eduardo,

     

    Is good to know that it is working, because i'm developing an application to be using in mobile world and i'm having all kind of cases.

     

    Now let me know you, that i think it is better to add the html tag, in the field OnGetText event instead in the SQL Command, because if you need to use the SQL Field value. 

     

    The OnGetText event is in the field, you can access to it in the dataset fields editor, select the field you want and in the object inspector yo have the OnGetText event, and do the following:

     

     

     

    procedure TfrCapturaFrame.qrListaCODIGOERPGetText(Sender: TField;
      var Text: string; DisplayText: Boolean);
    begin
      Text := '<br><span style="line-height: 1.0">' + Sender.AsString + '</span><br>';
    end;

     

    Regards,
     
    Rafael Liriano
  3. Hola tssavedra,

     

    Si te fijas en el fuente del proyecto dice lo siguiente:

     

     

     

    {$define UNIGUI_VCL} // Comment out this line to turn this project into an ISAPI module'
     
    {$ifndef UNIGUI_VCL}
    library
    {$else}
    program
    {$endif}

     

    fijate que solo tienes que comentar la primera linea que dice {$define UNIGUI_VCL} para convertir tu proyecto en ISAPI, asi de simple.

     

    Saludos

     

    Rafael Liriano

  4. Hi Eduardo

     

    Is correct for firebird is different (i'm using sqlserver), for firebird, to concatenate string you need to use the pipe (||), not the plus (+) sign. Is like this:

     

     SELECT 

    '<br><span style="line-height: 1.0">' || CodigoERP || '</span><br>' as CodigoERP, 

    '<br><span style="line-height: 1.0">' || Descripcion || '</span><br>' as Descripcion

    FROM fc_Localidades(0)

     

    Now in this example i use the <span style="line-height: 1.0">, because i increase the font to 18 pixel, and when the text was very long, it wordwarp and was overlaping, now with this style it look fine. (sorry for my English).

     

    Regards,

     

    Rafael Liriano

  5. Hi Eduardo,

     

    I solved this problem with a workaround, I need to increase the row height for use in mobile devices, then what i did was to add html tag <br> to add adicional lines, in my SQL statement i add the <br>, for example:

     

     

    SELECT 

    '<br>' + CodigoERP + '<br><br>' as CodigoERP, 

    '<br>' + Descripcion + '<br><br>' as Descripcion

    FROM fc_Localidades(0)

     

    it work for my needs, i hope it help you

     

    Rafael Liriano

  6. Hi all,

     

    I'm using:

     

    unigui v0.91.0.981

    AnyDac V3.0.1

    Delphi 2010

    Firebird 2.5

     

    when run the web app, it run ok, but when a second user want to access the web app it get the following

    error: Public property or Method: 'TExtComponent.destroy' requires explicit 'var' declaration.

     

    What i'm doing wrong?

     

    Thanks in advanced for any help.

     

     

    Rafael Liriano

     

     

×
×
  • Create New...