ui.Interface.setImage()

This method is used to specify the icon for the application title bar:

MAIN

  CALL ui.Interface.setType("container")

  CALL ui.Application.GetCurrent().setMenuType("Tree")

  CALL ui.Application.GetCurrent().SetClassNames(["tabbed_container"])

  CALL ui.Interface.setImage("qx://application/cascade.png")

  MENU

    COMMAND "GetImage"

      DISPLAY ui.Interface.getImage()

    COMMAND "EXIT"

      EXIT MENU

  END MENU

END MAIN

This icon will also be seen in taskbars when the child applications are minimized. If applied to the main MDI window, it will appear at the left corner of the title bar of the MDI container. It accepts the filename with the optional path as a parameter. The file must be located on the application server or by FGLIMAGEPATH.

 

Contact Us

Privacy Policy

Copyright © 2024 Querix, (UK) Ltd.