Jump to content

Emiliano

uniGUI Subscriber
  • Posts

    83
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by Emiliano

  1. Quando vc instala o unigui (que é o próprio framework) esta instalando tudo o que necessita, então se vc tem uma máquina nova (sem nada instalada), só vai necessitar do unigui e de sua aplicação

  2. Olá

    Segue um exemplo sobre como criar um form de login
    usei a zeos lib e um banco mysql


    DROP TABLE IF EXISTS `tbluser`;
    CREATE TABLE `tbluser` (
    `Id` int(11) NOT NULL AUTO_INCREMENT,
    `login` varchar(30) DEFAULT NULL,
    `password` varchar(20) DEFAULT NULL,
    `status` varchar(1) DEFAULT NULL,
    PRIMARY KEY (`Id`)
    ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;


    as telas tem formato 420x380 porque foram testadas em um smartphone

    uma pá de gente ajudou pra isso funcionar, grato a todos.

    Mais detalhes aqui:
    http://www.pontodeensino.com/index.php/blog/414-unigui-projeto-exemplo-login
     

    Veja o vídeo:

    http://www.youtube.com/watch?v=-5E1bsPIt3o

     

     

    fui...

    post-948-0-73822500-1402114926_thumb.jpg

    post-948-0-54615000-1402114933_thumb.jpg

    post-948-0-22065100-1402114941_thumb.jpg

    LoginDemoProject.zip

  3. Hi

     

    Here is a simple project to show how to build a login form

    I used Zeos Lib to acces the database and MySQL. in this case.

     

    Also i made all forms to fit a smartphone with 480x320 screen.

     

    Here is the SQL command to create the users table:

     

    DROP TABLE IF EXISTS `tbluser`;
    CREATE TABLE `tbluser` (
      `Id` int(11) NOT NULL AUTO_INCREMENT,
      `login` varchar(30) DEFAULT NULL,
      `password` varchar(20) DEFAULT NULL,
      `status` varchar(1) DEFAULT NULL,
      PRIMARY KEY (`Id`)
    ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;

     

     

    any comments would be great

    thanks

     

     

     

     

    ps: thanks to all forum members that help me with a lot of questions!

    post-948-0-62043200-1402113963_thumb.jpg

    post-948-0-61216700-1402113970_thumb.jpg

    post-948-0-26553200-1402113978_thumb.jpg

    LoginDemoProject.zip

    • Upvote 3
  4. In our forum or in general?

     

    In our forum!

     

    In the members list a count 20 names per page, so if there are almos 80 pages i think it would be around 1.600 members in the forum. But i don't have the ideia how many members from Angola, Brazil and Portugual, for example!!

  5. Encontrei uma solução. O problema de limitação somente ocorre quando o aplicativo é gerado para 64 bits.

     

    Em 32 bits o problema não ocorre.

    Não entendi... se vc compilar com 64 bits ele tem limitação de acessos simultâneos e 32 não ?

  6. Joventino,

     

    Apesar de não ter aplicações rodando com estes componentes, mas tive experiências com o Intraweb e lá para solucionar isso nós gerávamos os relatórios, exportávamos em PDF e em seguida abria-se este pdf no navegador cliente, o usuário poderia visualizar somente ou ainda imprimir se for essa a opção.

     

    Se resolver testar, diga-nos se a opção funciona.

     

     

    Valeu

    Scriptcase faz algo parecido !

  7. Nós concluímos em março desse ano um sistema de controle de estoque usando UNIGUI e Firebird 2.5 com servidor hospedado na Amazon.

     

    O mesmo já está em produção através do endereço www.estoquefacil.net

     

    Estamos concluindo agora um sistema de controle de abastecimentos e ainda este mês iniciaremos o sistema financeiro.

     

    Nirlan

     

    O esquema atual de licenciamento do unigui te permite desenvolver comercialmente?

     

    grato

     

    Emiliano

  8. 1. Pass them through public variables in MainModule or a DataModule.

    2. It depends on you. We use cookies here only to save login info on client side.

     

    Hi Farshad

     

    The login demo project with zeos and mysql is now working fine.

    May i send it to?

    So you could avaliate it, and maybe incluide in the demo folder.

    What do you think about it.

     

    Thanks

     

    Emiliano

  9. Hi to all.

     

    I share the uniGMap component.

    It is based on code I have used in several projects and actually developed to fulfill my needs.

     

    It can add , edit , remove , locate markers , lines , polylines , circles , polygons ,

    rectangles , directions , KML,

    change several map properties like zoom , type , control visibility etc ,

    notify about map events through AjaxEvent like zoom , click , markerclick and

    get some object properties like Length , Area etc.

     

     

    You can see it in action here :

    http://79.143.178.31/lema/uniGMapDemo.dll

     

    latest version: 2014-03-30 v1.3.6

     

    hi  I

     

    can´t find ExtPascal14  when try to compile and install the component

    any help?

     

    thanks

     

    Emiliano

  10.  

    Tudo bem Emiliano,

     

    O Farshad implementou uma nova classe para isso TUniLoginForm, olha no seu demos LoginFormm, e muito facil.

     

    Até mais..

     

     
    Hi Emiliano, 
     
    The Farshad implemented a new class for this TUniLoginForm looks on your demos LoginForm ,is very easy. 

     

     

    Oi perjanbr

     

    Vc tem algum exemplo sobre isso que possa me passar?

    Necessito manda pra tela principal dados que vem da tela de login, em um dos exemplos que ele estava usando cookie, só tem dessa forma?

     

    att

     

    Emiliano

  11. Login form should not reference main form. Main form is automatically shown when you close login form with modalresult mrOK. Included demos clearly demonstrate this.

     

    Hi Farshad,

     

     

    I got from the demo directory this code: 

    if sameText(edtLogin.Text, 'DEMO') and sameText(edtPassword.Text, 'DEMO') then
         begin
        if UniCheckBox1.Checked then
        begin
          UniApplication.Cookies.SetCookie('_loginname', edtLogin.Text, Date + 7.0); // Expires 7 days from now
          UniApplication.Cookies.SetCookie('_pwd', edtPassword.Text, Date + 7.0);
        end;
        ModalResult := mrOK;
      end;

    i included it, in the login button in loginform.

     

    1. How to pass the text from both edits from loginform to mainform?

    2. In the main form should i use UniApplication.Cookies.SetCookie?

     

    Thanks

     

    Emiliano

×
×
  • Create New...