Jump to content

mos

uniGUI Subscriber
  • Posts

    269
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by mos

  1. I have a frame and a single image on the frame which has it's onClick event set.

     

    The code in the onClick event toggles the color of the Frame:

    procedure TUniFrame1.UniImage1Click(Sender: TObject);
    begin
      if Self.Color = clRed then
        Self.Color := clBtnFace
      else
        Self.Color := clRed;
    end;
    

    What happens is that when you click the image the very first time the Frame color is red.

     

    However when you click it again to reset the color back to clBtnFace it doesn't change.

  2. Hi Delphi Developer,

     

      Thanks for code again which work just fine however I have one issue which I am trying to get around.

     

      On the treeview I have an onChange event and what I am finding is that when I click and hold down the mouse to start drag the onChange will trigger as well.

     

       Do you know of a way I can avoid the onChange being triggered when I try and start a drag?

  3. Hi Hayri,

     

      Thanks for your reply.

     

      My application is actually launched from within another uniGUI application via javascript and so once a user has finished with my application I need to be able to close my tab/window.

      In my situation would I be able to use javascript to close my tab/window when someone clicks on the exit button in my application and if so where would I need to put this javascript so it can be executed?

  4. When a user clicks a button to exit my uniGUI application it currently displays a page: "Web Session Terminated" with a hyperlink to Restart Application.

    Instead of the above occurring I would like the browser tab/window to close rather than display the above.

     

    What changes do I need to make to force my application to close it's own browser tab/window when exiting?

     

     

  5. We have developed software that captures audio to wave files, and have a listening function within a desktop program. When the user clicks on a listen button, the client program connects to the server via TCP/IP and then receives audio in 2 second chunks that gets played out the pc speaker.


     


    Have been asked to add similar functionality into the web server program. Getting the audio from the server to the web server is "easy" (broadly speaking) but not sure how to get that raw audio into the web browser.


     


    Can anyone suggest a library/component that could be used within unigui that might be able to do this?


  6. I have two uniGUI applications that need to be kept separated.  One is an admin tool and the other is an add-on.

     

    In the admin tool uniGUI app it displays a treeview and what I want to do is when a node is clicked call the second uniGUI app

    so it's contents is displayed in either a separate browser window or in a frame created by the admin tool uniGUI app.

     

    Can you tell me what I need to do to be able to display the contents of the second uniGUI app in a separate browser window or

    in the frame of the admin tool uniGUI app?

     

     

×
×
  • Create New...