![]() When the app is launched, the Open event is called prior to Activate.Get the top developer tools and third party components for the Xojo cross-platform development platform at a huge savings. This code places the titles of all open windows into a ListBox: If you pass in a window number that does not exist ( a value = WindowCount) then this function returns Nil. Note that during a window’s Open event, the window list includes that window, but during a window’s Close event, the window list does not include that window. This function can be used in conjunction with the WindowCount function to loop through the open windows. If you don’t, the code may identify the frontmost window as a window that is not Visible. If this may be the case, check the Visible property of a window while identifying the frontmost visible window. In evaluating the order of windows in the list from front to back, keep in mind that a window may not have its Visible property set to True. For example, to get the frontmost document window when you also have Floating windows, you must also check each window’s Frame property. Floating windows are always in front of document windows. The window list contains all the windows that have been created. The Window function returns a reference to the window number passed. Version is displayed by the file information windows on macOS (Finder, Get Info) and Windows (Windows Explorer, Properties).Īpp. Typically version numbers are written as 1.2.3.4. This property can be set only in the IDE. Usually this contains just the version number (such as 1.2.3.4) and is displayed by some operating systems in Get Info or Property windows for the app. Stage can be set only in the IDE.Ī short text description for the app. Use the four Application class constants to set/get the Stage. Stage Code of the Application, corresponding to the version information. The Region Code of the Application, corresponding to the version information. Var fullVersion As String fullVersion = app. Use the properties and methods of the FolderItem class to get/set attributes of the executable file and/or perform operations. Returns a FolderItem for the actual executable Application even if it is in a bundle.Īpplication.ExecutableFile returns Nil if the app has been deleted or an error occurs finding it. The DockItem property of the Window class enables you to control the dock item for individual windows. ![]() Anything you can do with a Graphics object you are able to do with the Dock’s Graphics object (like drawing in a picture or using a Group2D). You can also use the ClearRect property of the Graphics class to start over from a blank icon. ResetIcon resets the icon to its original state (default appearance).Ĭall the UpdateNow method to redraw the icon. Since a macOS icon is intended to be scaled automatically, you should design it as a 512x512 pixel icon. Use the methods of the Graphics class to modify the appearance of the icon. This class has two methods, UpdateNow and ResetIcon, and one property, Graphics. The DockItem property enables you to access the properties and methods of the DockItem class. ![]() This value is not displayed for macOS.Įnables you to manipulate the dock item associated with the Application (macOS only). System Requirements for previous versionsĪ text description for the app that may be displayed by some operating systems in Get Info or Property windows for the app.System requirements for current version.Reporting bugs and making feature requests.Adding additional application subclasses.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |