Jump to content

sandro.carrara

Members
  • Posts

    14
  • Joined

  • Last visited

Posts posted by sandro.carrara

  1. thank you very much for the suggestion, but i don't know JS at all.

    I have no idea of what to write in drawStuff().

    If you have already written a working sample project, would you be so kind to share it here in the forum?

    thanks a lot.
  2. hi,
    we need to develop a mobile web app that can acquire the signature of a customer.
    How can i do that?
    Some times ago there was a canvasmobiledemo but i can't find it anymore.
    thanks.
    regards.

     

  3. Hello! is possible to load UniServerModule parameters like: port, title... from a file?

     

    Like all the properties of all Delphi components.

    I use something like this

     

    procedure TUniServerModule.FirstInit;

    var

    file_ini: tinifile;

    begin

    InitServerModule(Self);

     

    file_ini := tinifile.create(UniServerModule.filesfolderpath + 'go.cfg');

     

    port := file_ini.readinteger('goweb', 'porta_go_web', 8077);

    extroot := file_ini.readstring('goweb', 'cartella_extjs', '[ext]\');

     

    file_ini.free;

    end;

     

    I can't change the standard value if I use the standalone server.

  4. I'm New too but I have made the test with the Example that send us and I got the same error, when I call a form from another form that is not the main I always got the same error.

    I think that must be a better way to do it than I'm doing.

     

    The way I can avoid this error is to put the queries in the Main Module doing like that It's work pretty good.

     

    I hope that someone more expert can give us an explanation.

  5. Thanks, Your Example work because your calling a form from the main form, but If you call another form from another that it not main (AutoCreated, You can't send any paramter to the caller form.

     

    try do it with a form that you call from the main form and then call another form and try to do it

     

    Excuse me, I'm new in UniGui projects but I don't see the difference in the way to create a new form.

    In project option all the forms are available and none is declared as autocreate.

    Declaring a form as autocreate give an error in compilation.

    I've written a simple project (15 forms) using the tecnique I've sent to you, no matter in what level of the form i've use it.

     

    In the attached example I use two level and all works.

    set_value_01.zip

  6. Thanks for you example. You example work good but when I try to use for example a DataSet doesn't work

     

    FrmSolicitud.edtCodigoEmpleado.Text := QryBuscarEmpleado.FieldByName(

    'maenomi').Value;

    FrmSolicitud.edtCodigoEmpleado.SetFocus;

     

    Close;

     

     

    Calling from this Form

     

    frmBuscaEmpleado.Show;

     

    The Other Problem is that is creating the caller form again I don't know why is a strange behavior

    I'm sending a screen shot.

    How is possible that you call a form and comeback it create it again.

     

    I have no problem with dataset

    Here an example with VirtualTable

    test.zip

  7. I usually set the value in the caller form from the called form referencing then caller form in the called.

    From caller

    called.showmodal; (that use caller)

    caller.component.value := called.value;

    caller.component.setfocus;

    close called;

  8. A question:

    activecontrol is similar to screen.activecontrol (get and set the active control of the form)?

    Verifying the name of the active control "showmessage(activecontol.name)" entering in TuniDBEdit and also in TuniEDIT i try always the value of the first control in the form.

     

    Thanks

  9. Very very nice application

    Good and fast navigation

    It's possible to get the source code (also not for free), just to learn quickly the use of UniGui?

     

    Thanks to you and to Farshad

    :rolleyes:

×
×
  • Create New...