lee321987 Posted October 16, 2022 Share Posted October 16, 2022 (edited) The help-text that pops up after you type the first "(" after a command -- the text that is info about the command you just typed and what the parameters for it are. That text for ControlListView() has the 3rd param listed as "classnameNN", but in the manual it's "controlID". By the way -- what is that "info-popup" called? Edited October 17, 2022 by lee321987 Changed "popup info-text" to "calltip" Link to comment Share on other sites More sharing options...
Developers Jos Posted October 16, 2022 Developers Share Posted October 16, 2022 (edited) 1 hour ago, lee321987 said: By the way -- what is that "info-popup" called? That is called in SciTE: Calltip. Calltip uses the au3.api file that comes with the AutoIt3 Installer and has these possible options for ControlListView(): ControlListView ( "title", "text", "classnameNN", "DeSelect", From [, To] ) Deselects one or more items. ControlListView ( "title", "text", "classnameNN", "FindItem", "string to find" [, SubItem] ) Returns the item index of the string. Returns -1 if the string is not found. ControlListView ( "title", "text", "classnameNN", "GetItemCount" ) Returns the number of list items. ControlListView ( "title", "text", "classnameNN", "GetSelected" [, option] ) Returns a string containing the item index of selected items. If option=0 (default) only the first selected item is returned. If option=1 then all the selected items are returned delimited by |, e.g: "0|3|4|10". If no items are selected a blank "" string is returned. ControlListView ( "title", "text", "classnameNN", "GetSelectedCount" ) Returns the number of items that are selected. ControlListView ( "title", "text", "classnameNN", "GetSubItemCount" ) Returns the number of subitems. ControlListView ( "title", "text", "classnameNN", "GetText", Item, SubItem ) Returns the text of a given item/subitem. ControlListView ( "title", "text", "classnameNN", "IsSelected", Item ) Returns 1 if the item is selected, otherwise returns 0. ControlListView ( "title", "text", "classnameNN", "Select", From [, To] ) Selects one or more items. ControlListView ( "title", "text", "classnameNN", "SelectAll" ) Selects all items. ControlListView ( "title", "text", "classnameNN", "SelectClear" ) Clears the selection of all items. ControlListView ( "title", "text", "classnameNN", "SelectInvert" ) Inverts the current selection. ControlListView ( "title", "text", "classnameNN", "ViewChange", "view" ) Changes the current view. Valid views are "list", "details", "smallicons", "largeicons". ...so somewhere in the generation of the au3.api file the 3rd parameter for this function, and ControlCommand as well, is change. It isn't wrong but don't know why that is happening. These functions have multiple options defined by "@@ControlCommandTable@@" in the helpfile generation txt file, so this needs to be checked. Edited October 16, 2022 by Jos lee321987 1 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now