Jump to content

Wilton Ergon

uniGUI Subscriber
  • Posts

    626
  • Joined

  • Last visited

  • Days Won

    21

Posts posted by Wilton Ergon

  1. I think you're looking for a system generator, or code generator, eg: gvinci for c # code www.gvinci.com.br maker http://softwell.com.br/for java code, friend get out of these thefts that generate code for you with the idea of ​​speeding up certain tasks, always end up generating useless codes, either agility in unigui, use inheritance concepts, if is concerned with streamlining the process of creating crud forms, a well-designed base form will save you a lot of time in this task.

  2.  
    procedure TForm.panelMouseDown(Sender: TObject; Button: TMouseButton;  Shift: TShiftState; X, Y: Integer);
     const
       sc_DragMove = $f012;
    begin
      ReleaseCapture;
      Perform(wm_SysCommand, sc_DragMove, 0);
    end;

    this works in vcl, click on the panel and drag the form

  3. ref TUNITREEMENU

     

    this is an excellent component that has recently been added to the unigui palette, thank you immensely for the effort of unigui team so I noticed the lack of 2 important features that can greatly facilitate our life, and avoid artifice with additional js codes. 1- to allow to change the color in runtime of tunitreemenu 2-If you mark the visible or enabled property of sourcemenu items, this is also applied in runtime in tunitreemenu

     

    our js ninja has already shown how to do this with some alien codes.

    http://forums.unigui.com/index.php?/topic/10643-unitreemenu-font-size/

  4. we know that there are many resources of ext.js that are not directly accessible by the properties of the unigui components, and can only be called through direct calls of js codes, a suggestion for future improvement of the framework, it would be fmsoft to create a list of possible improvements that could be implemented in future versions, and create a page for registered users to vote, in these new features, so the improvements would be made to the most voted items, and who would define this list would be fmsoft itself within a range of possible resources that can be created. a suggestion and this be done directly in our portal https://prime.fmsoft.net/userv/mportal.dll, it would not need to be public here in the forum.

  5. I use windows 10, and I have nothing to complain about, very fast and stable, always updated, I do not know if it is your case, but my version is licensed both from windows and from delphi.

  6. this is something that also bothers me, but I would like to know why some external devices are accessible by the web and others not, like the webcam we already have mechanisms in the unigui to do this, and also of biometric readers, I still have not found anything about it in unigui, but I have already seen several web systems that access the biometric reader without the use of external gambiarras. an example and the own "maker" of softwell here of brazil, that already comes with this of native form for the user login.

  7. eu usso isso:

     

    {CHAMA EXECUTAVEL PASSANDO PARAMETROS, ESPERA FINALIZACAO DO MESMO}
    function ExecutaeAguarda(const FileName, Params:String; const WindowState: Word): boolean;
    var
      SUInfo: TStartupInfo;
      ProcInfo: TProcessInformation;
      CmdLine:String;
    begin
    result :=false;
    if (NOT FILEEXISTS(FileName)) and (pos('\',FileName)>0) then
       BEGIN
         alerta('Arquivo '+FileName+#13+'não foi encontrado!');
         exit;
       END;
     
      CmdLine := '"' + Filename + '"' + Params;
      FillChar(SUInfo, SizeOf(SUInfo), #0);
     
      With SUInfo do
       begin
        cb := SizeOf(SUInfo);
        dwFlags := STARTF_USESHOWWINDOW;
        wShowWindow := WindowState;
       end;
      Result := CreateProcess(nil,
                              PChar(CmdLine),
                              nil,
                              nil,
                              false,
                              CREATE_NEW_CONSOLE or NORMAL_PRIORITY_CLASS,
                              nil,
                              PChar(ExtractFilePath(Filename)),
                              SUInfo,
                              ProcInfo);
      if Result then
        begin
         WaitForSingleObject(ProcInfo.hProcess, INFINITE);
         CloseHandle(ProcInfo.hProcess);
         CloseHandle(ProcInfo.hThread);
        end;
    end;
     
     
    params :='"PARAM" "PARAM2" "PARAM3"';
    ExecutaeAguarda(UniServerModule.ServerRoot+'\yourexe.exe',params,SW_NORMAL)   //SW_MINIMIZE SW_HIDE ....
     
  8. how to do to know if a form is open, the command below, performs the show in the form, in vcl this behavior be very different,

     

    if form = nil then // this runs a show    showmessage ('form is nil')

     

    when I close one form and open another, the previous form still displays on the screen.

     

    sample:

     

    form1.showmodal;   //form freeonclose =true

    form2.showmodal;  //form freeonclose =true

     

    when it closes form1, and it shows form2, form1 still shows on the screen

  9. ola, estou usando seu componente, mas me deparei com um problema ao definir as propriedades selecionadas com a meta visível: = false, ele gera um erro. [/ size]

     

    put a component, set visible :=false;

     

     

     

        for I := 0 to (cList.Items.Count - 1) do

        begin
                    cList.Selected:=True;
        end;
  10. piracy hampers the life of those who buy the licenses, in Brazil many people use the pirate unigui, and without money does not work miracles, Farshad needs jedi level professionals to join the team, and I believe that in turkey this does not is on every corner, and I think it's a very complex project to be worked on from a distance, if something bad happens with farshad as we are?

×
×
  • Create New...