Jump to content

awendisch

uniGUI Subscriber
  • Posts

    34
  • Joined

  • Last visited

Posts posted by awendisch

  1.  

    Just now, Sherzod said:

    Thanks.

    You seem to be using this component incorrectly. Can you clarify what you would like to achieve?

    I am trying to create a method to call a screen mask , execute a code and finally hide the mask. My objective is to use this code all around my system, like whenever I needed i would just call it from a Library.

  2. After I create a instance of a TUniScreenMask while trying to call a sceen mask manually the Error occurs : ''There is no default JS Object appears' .

    image.thumb.png.1219d70fe754585133123d6f8e57e992.png

    I'm not quite sure on how to make this work, if someone has any pointers on how to solve this problem I apreciate.

  3. Currently I'm using Unigui 1.90.0.1559.

    I've been trying to find a solution to drag and drop TUniPanels in order to make a Dinamic layout for placing DashBoards. Normally all you had to do is to code around the mouse events to capture mouse position and then alter the Left and Top property of the object you're draggin. The problem is that neither my form nor my Objects have the "OnMouseMove" event, without this event I cannot implement the code to capture mouse position in real time while draggin the object.

    mouseEvents.png.a2e3e231d983fa2067e6b87077b7c4fe.png

     

    If anyone know a solution to this problem I would apreciate it.

  4. I have a TuniDbEdit with the property "InputType" setted to "datetime-local", right now the component is setted to manage a TimeStamp Field, but as I try to use it in run time the error "Could not parse SQL TimeStamp string"  occurs. Apparently this component is made to work with Varchar type.

    Does anyone have a solution to that, it's really important that the DataBase field keep being TimeStamp type.

    image.png.6cb6e56c749f6a378bd8e6cd189ea389.png

     

  5. Currently I'm using this component (UniDbDateTimePicker) with the property "Kind" set to tUniDateTime to handle TimeStamps fields from my DB, but I'm having trouble to set the width correctly to make both sides rightly ajusted.

    image.png.db776129f45e27e18bc8f18dba80d7b4.png As you guys can see, the left side has more than sufficient space while the right side  doesn't have enough.

    If I try to increase the width the proportion stand the same and the spare space from the left side increase aswell making my layout look bad.

    Does anyone know how to set the width from both sides (Date and Time) separately?

     

  6. On 3/23/2022 at 10:44 AM, FXSystems said:

    Hi everyone. I struggled with this problem for a long time and probably the solution is not elegant, but it works fine to rebuild the whole treeView. You can hide / show menu items or rename them.

     

    procedure TMainForm.BuildHamburgerMenu;
    var
      i: Integer;
      newItem : TUniTreeNode;

     procedure BuildSubordinateElements(NadrzedneMenu: TUniTreeNode; whichMenu : TUniMenuItem);
     Var
      ip: Integer;
     Begin
      for ip := 0 to whichMenu.Count - 1 do
       Begin
        if whichMenu.Items[ip].Visible then
         Begin
          newItem           := treeMenu.Items.Add(NadrzedneMenu,whichMenu.Items[ip].Caption);
          newItem.ImageIndex:= whichMenu.Items[ip].ImageIndex;
          newItem.OnClick   := whichMenu.Items[ip].OnClick;
          if (whichMenu.Items[ip].Count > 0) then BuildSubordinateElements(newItem,whichMenu.Items[ip]);
         End;
       End;
     end;

    Begin
     treeMenu.Items.Clear;
     if HamburgerMenuItems.Items.Count > 0 then
      Begin
       for i := 0 to HamburgerMenuItems.Items.Count - 1 do
        Begin
         if HamburgerMenuItems.Items[i].Visible then
          Begin
           newItem            := treeMenu.Items.Add(nil,HamburgerMenuItems.Items[i].Caption);
           newItem.ImageIndex := HamburgerMenuItems.Items[i].ImageIndex;
           newItem.OnClick    := HamburgerMenuItems.Items[i].OnClick;
           if (HamburgerMenuItems.Items[i].Count > 0) then BuildSubordinateElements(newItem,HamburgerMenuItems.Items[i]);
          End;
        End;
      End;
    End;

     

    Maybe someone will come in handy.

    Work! Tanks!

  7. Há duas horas, Sherzod disse:

    Olá,

    Desculpe pela resposta tardia ...

    Estou fazendo tudo certo? Existe algum problema?

    comboImg.gif.977d6f24b3ff75e5f62d2928a97b9b05.gif

    hello alright,

    yes, this is the behavior I need.
    My version of UniGui is 1.90.0.1510. Is there a bug?
    did you make any changes to load the icon a second time?

  8. 19 minutes ago, Sherzod said:

    Thanks for the testcase.

    Sorry, please clarify once again, with what difficulty you are faced?

    Note that when the edit record button is clicked, the form opens and the selected image is no longer displayed. What I need is to load the image. the test that must be done is.
    1 - edit record
    2 - change the image
    3 - click again to edit record
    4 - notice that the image was not loaded (Problem is here)

  9. On 23/05/2020 at 15:13, Sherzod said:

    Olá,

    Desculpe, você pode explicar com mais detalhes?

    Hello. yea,
    What I mean is visible in the .gif image I just attached. what i need is to be able to set the combobox image at runtime, so that when opening the form the image is loaded to the component.

    IconItems.gif

  10. On 09/08/2017 at 11:00, mhmda said:

    Hoje lançamos um novo aplicativo (em árabe) na play store "أنا وسلتي" e aqui uma versão em inglês com o código fonte completo.

     

    Banco de Dados mySQL:  http://3msoft.net/mhmd/mycartmysql.sql

     

    Porta do projeto: 4742 com exe:  http://3msoft.net/mhmd/memyselfandcart.rar

     

    Teste online:  http://5.189.151.122:4742/m

     

    Play Store:  https://play.google.com/store/apps/details?id=com.msoft.anawasallati&hl=pt_BR  (árabe)

     

    Há uma etapa de registro em que o usuário insere suas informações e há três telas de boas-vindas, o aplicativo salva os dados de login em cookies e a segunda vez que o usuário faz o login, o aplicativo inicia automaticamente.

     

    O usuário pode compartilhar seus dados com outras pessoas facilmente.

     

    Espero que isso ajude você de qualquer maneira ...

     

    Hello,
    How can I get your beautiful demo project?
    The current link is broken!

  11. 47 minutes ago, Sherzod said:

    Hello, 

    Seems it's related to this!?:

     

     

    Yes, it is related but it is an attempt at a solution as it is not possible to change the position of locked columns. I will try to use two UniDbGrids linked to the same Datasource, but to have the effect of unity, I need to synchronize the scroll of the two UniDbGrids.

    Nova Imagem de Bitmap.bmp

×
×
  • Create New...