Jump to content

rencarnacion

uniGUI Subscriber
  • Posts

    633
  • Joined

  • Last visited

  • Days Won

    14

Posts posted by rencarnacion

  1. I try this code but I have problem with var flag what unit I must use in order to Use Flag in my form

    Thanks

     

     

     

     

     

     

    procedure TMainForm.UniFormShow(Sender: TObject);
    begin
     if WebMode then
    if not AFlag then 
       begin
     	Hide;
     	AFlag:=True;
     	LoginForm.Show;
       end;
    end;
    

     

    procedure TLoginForm.UniFormClose(Sender: TObject; var Action: TCloseAction);
    begin
     MainForm.Show;
    end;
    

  2. 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.

     

     

     

     

     

    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.

  3. I have no problem with dataset

    Here an example with VirtualTable

     

    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

  4. Try this one.

     

    The was finding out about the thread, and I Notice that if you call a form from the mainform you can send back parameter, but if you call a form from another form that is not the mainform that Unigui autocreate You can't send parameters from the called form to the caller form.

    I think that must be a property or something like that in order to put the same properties to the other forms that aren't mainform.

     

    Thanks everybody for your help, But I hope to get the way to send parameter back from another form

  5. Try this one.

     

    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.

  6. I try to do it like this but I got an error.

     

    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;

  7. Hello I having problem when I call Other form in order to make search and then return the value when the user make double click in the search grid.

    the error I got is Warning: Form must be shown after it is created: FrmSolicitud_1

    the strange thing is that the seccond time it work good.

    Thanks for Your help

  8. Hello I'd like to know how I can get Parameter from another form that Use as search.

    For example I want to get the Employee Code in a form then I Just Call another form and make my search then how I can get the value when I click on a row of grid

    I send a Print Screen That Do exactly why I want to do.

    If someone have an example please send it.

     

     

    Thanks

  9. Have try does one http://www.vpsland.com/windows_vps.php and GoDaddy Windows VPS ?

    They are more cheap and have more feature than Xtraordinary Hosting

    .

     

     

    Xtraordinary Hosting is a company based in UK. They provide dedicated and VPS hosting solutions for both Windows and Linux platforms. uniGUI web site is hosted here. I'm very pleased with their uptime and server performance. Their prices are also very competitive. Their servers are completely self-service which means there are no control panel or web management. It is only you and your server which you can access using terminal services. For me control panel is not a must, as I can do whatever I want using server management interface including running my own name server.

     

    PS: I'm not affiliated with Xtraordinary hosting company in any way. This post is simply a recommendation not a warranty for quality of their services. Do your own research before making decision.

  10. How I can Know the Index of Parent when I Click a Child In Unigui Tree

     

     

    Thanks

     

     

     

     

    How to use .AddNode() procedure in TUniTreeview

     

    i tes this on vcl and result is okay,

    but in unigui is not

     

     

    UNIGUI

     

    procedure TfrmMST6_TPS.btnAddKecClick(Sender: TObject);

    var

    mynode1, mynode2, mynode3, mynode4 : TUniTreeNode;

    begin

    mynode1 := TUniTreeNode.Create;

    mynode2 := TUniTreeNode.Create;

    mynode3 := TUniTreeNode.Create;

    mynode4 := TUniTreeNode.Create;

     

    lbltree.Items.AddNode(mynode1, nil, '1', nil, naAddFirst);

    lbltree.Items.AddNode(mynode2, mynode1, '1-2', nil, naAddChild);

    lbltree.Items.AddNode(mynode3, mynode1, '1-3', nil, naAddChild);

    lbltree.Items.AddNode(mynode4, mynode2, '2-4', nil, naAddChild);

    end;

     

     

     

    VCL

     

     

    procedure TForm1.BitBtn1Click(Sender: TObject);

    var

    mynode1, mynode2, mynode3, mynode4 : TTreeNode;

    begin

    mynode1 := TTreeNode.Create(lbltree2.Items);

    mynode2 := TTreeNode.Create(lbltree2.Items);

    mynode3 := TTreeNode.Create(lbltree2.Items);

    mynode4 := TTreeNode.Create(lbltree2.Items);

     

    lbltree2.Items.AddNode(mynode1, nil, '1', nil, naAddFirst);

    lbltree2.Items.AddNode(mynode2, mynode1, '1-2', nil, naAddChild);

    lbltree2.Items.AddNode(mynode3, mynode1, '1-3', nil, naAddChild);

    lbltree2.Items.AddNode(mynode4, mynode2, '2-4', nil, naAddChild);

    end;

  11. One Question Do you test It in Windows IIS Server, as I can see you are running as StandAlone application.

    I'd Like to Know if I can get the same Look and Feel running in IIS

     

    Thanks

     

     

     

    Friends:

     

    There are the begining of the web versión of Sebaot Software Assurance System.

     

    This application only coul'd be possible thanks of the high level of Mr. Farshad support and the high quality of the UniGui framework!

     

    My congratulations to Mr. Farshad and his team to make the transtition from Delphi Desktop to Web so painless.

     

    Thanks to everybody and Best Regards

     

    Lic. Oscar Flor

    Web Developer

    Sebaot Software

    www.sebaot.com

  12. Thanks, Could you send the tools to my email ronny.encarnacion@gmail.com

    thanks

     

     

    Hello, Eric and everybody!

     

    The conversion process uses basically the JVCLConvert.exe (which is attached) along with the file. Corresponding Dat (also attached).

    You will need to process your files. And PAS. DFM. This will make the bulk of the process, however, as the components UniGui not have all the properties that the Native Delphi components, many still require manual adapdações.

    I advise you to first on a small project to gain experience.

     

    Unfortunately I do not know how to attach files here in the forum, but if someone needs just send me an e-mail or post here, I send JVCLConverter.exe and file .DAT I created.

     

     

    Sincerely,

  13. - Warehouse, orders and billing control.

    - About 70 forms

    - Windows 2008 R2 64Bits Foundation

    - UniGui ISAPI running under IIS 7

    - MySql Database (But also support PostgreSql)

    - UniDac Components to connect to database

    - Printing reports with FastReport

    - Máx. 20 simultaneous users (is a small company, so few users are connected at the same time, but it should support much more users connected)

     

    Hi, Could You send and Example how to print a report in Unigui because the documentation there isn't any information about it

    thanks

×
×
  • Create New...