{"id":13804236,"url":"https://github.com/AHK-just-me/Class_LV_InCellEdit","last_synced_at":"2025-05-13T17:31:44.937Z","repository":{"id":12660902,"uuid":"15332723","full_name":"AHK-just-me/Class_LV_InCellEdit","owner":"AHK-just-me","description":"AHK class supporting in-cell editing for ListView controls","archived":false,"fork":false,"pushed_at":"2015-12-15T07:42:35.000Z","size":30,"stargazers_count":15,"open_issues_count":0,"forks_count":5,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-05-19T05:25:41.412Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"AutoHotkey","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AHK-just-me.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-12-20T07:38:31.000Z","updated_at":"2024-04-22T15:10:08.000Z","dependencies_parsed_at":"2022-09-02T08:51:21.499Z","dependency_job_id":null,"html_url":"https://github.com/AHK-just-me/Class_LV_InCellEdit","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AHK-just-me%2FClass_LV_InCellEdit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AHK-just-me%2FClass_LV_InCellEdit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AHK-just-me%2FClass_LV_InCellEdit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AHK-just-me%2FClass_LV_InCellEdit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AHK-just-me","download_url":"https://codeload.github.com/AHK-just-me/Class_LV_InCellEdit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225247850,"owners_count":17444124,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T01:00:44.264Z","updated_at":"2024-11-18T20:31:41.809Z","avatar_url":"https://github.com/AHK-just-me.png","language":"AutoHotkey","funding_links":[],"categories":["Libraries"],"sub_categories":["\u003ca name=\"libraries-gui\"\u003e\u003c/a\u003eGUI"],"readme":"# Class_LV_InCellEdit #\n\nAHK class providing in-cell editing for ListView controls in AHK GUIs.\n\nThe class provides methods to restrict editing to certain columns, to directly start editing of a specified cell,\nand to deactivate/activate the built-in message handler for `WM_NOTIFY` messages (see below).\n\nThe message handler for `WM_NOTIFY` messages will be activated for the specified ListView whenever a new instance is\ncreated. As long as the message handler is activated a double-click on any cell will show an Edit control within this\ncell allowing to edit the current content. The default behavior for editing the first column by two subsequent single\nclicks is disabled. You have to press \"Esc\" to cancel editing, otherwise the content of the Edit will be stored in\nthe current cell. ListViews must have the `-ReadOnly` option to be editable.\n\nWhile editing, \"Esc\", \"Tab\", \"Shift+Tab\", \"Down\", and \"Up\" keys are registered as hotkeys. \"Esc\" will cancel editing\nwithout changing the value of the current cell. All other hotkeys will store the content of the edit in the current\ncell and continue editing for the next (Tab), previous (Shift+Tab), upper (Up), or lower (Down) cell. You cannot use\nthe keys for other purposes while editing.\n\nAll changes are stored in `MyInstance.Changed`. You may track the changes by triggering `(A_GuiEvent == \"F\")` in the\nListView's gLabel and checking `MyInstance[\"Changed\"]` as shown in the sample scipt. If \"True\", `MyInstance.Changed`\ncontains an array of objects with keys \"Row\" (row number), \"Col\" (column number), and \"Txt\" (new content).\n'Changed' is one of the two keys intended to be accessed directly from outside the class.\n\nIf you want to temporarily disable in-cell editing call `MyInstance.OnMessage(False)`. This must be done also before\nyou try to destroy the instance. To enable it again, call `MyInstance.OnMessage()``.\n\nTo avoid the loss of Gui events and messages the message handler might need to be `Critical`. This can be\nachieved by setting the instance property 'Critical' to the required value (e.g. `MyInstance.Critical := 100`).\nNew instances default to `Critical, Off`. Though sometimes needed, ListViews or the whole Gui may become\nunresponsive under certain circumstances if `Critical` is set and the ListView has a g-label.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAHK-just-me%2FClass_LV_InCellEdit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAHK-just-me%2FClass_LV_InCellEdit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAHK-just-me%2FClass_LV_InCellEdit/lists"}