首页 \ 问答 \ TreeView:如何确定节点是否处于编辑模式?(TreeView: How to determine if node is in edit mode?)

TreeView:如何确定节点是否处于编辑模式?(TreeView: How to determine if node is in edit mode?)

有没有办法判断树视图节点当前是否处于编辑模式?

我正在使用KeyUp事件来确定删除键是否被命中 - 我只想激活我的'你真的想要删除这个'代码,如果用户没有编辑的话。

该项目使用的是Delphi 2010。


Is there a way to tell if a treeview node is currently in edit mode?

I'm using the KeyUp event to determine if the delete key was hit - I only want to fire off my 'do you really want to delete this' code if the user is NOT editing.

This project is using Delphi 2010.


原文:
更新时间:2022-05-07 22:05

最满意答案

我发现打包的* AMP系统存在问题。 它们并不总是以其他应用程序所期望的方式安装。 例如,MAMP系统与Python不兼容。 在Windows上安装Apache,PHP和MySql非常容易(其中两个已经在Mac和Linux上)

如果你使用标准的MySql安装,你应该没有安装Workbench的麻烦,我已经在Windows和Mac上完成了。

我有时发现它有点冒险,它不会连接到较旧的服务器版本,并且在运行长脚本时往往会崩溃。 它也没有很好的查询UI,像PLSQL Developer到TOAD这样的好程序会很好。


I have found problems with the packaged *AMP systems. They don't always install things the way other applications expect. e.g. The MAMP system doesn't work well with Python. it's quite easy to install each of Apache, PHP and MySql on Windows (and two of them are already on the Mac and Linux)

If you use the standard MySql install you should have no trouble installing the Workbench, I've done it on both Windows and Mac.

I have found it a bit flakey at times, it won't connect to older server versions and tends to crash when running long scripts. It also doesn't have a great UI for queries, A good program like PLSQL Developer to TOAD would be nice.

相关问答

更多
  • 你好, 1、在更新前一定要事先备份,首先要先停止MySQL资料库服务指令方式:net stop mysqlGUI方式:电脑右键→管理→服务→找到MySQL服务停止, 2、备份XMAPP安装目录里的mysql资料夹, 荒、下载要更新的MySQL程式, 3、这时先安装在其他目录资料...
  • 另一个应用程序可能阻止数据库端口3306,或者临时文件的文件夹可能丢失或不可写。 最新版本的xampp在控制中心有一个工具,列出了使用过的端口。 如果您使用的是Windows,则应将xammp文件夹移动到写入文件没有问题的位置,例如尝试使用文档文件夹。 Another application may block the database port 3306 or maybe the folder for temporary files is missing or not writable. The late ...
  • 您的MySQL二进制文件应位于您的XAMPP文件夹下方。 找一个/ bin文件夹,你会发现mysql.exe客户端。 我们假设它是在c:\ xampp \ mysql \ bin,那么你应该在这个文件夹中启动一个命令提示符。 这意味着,启动“cmd”,并键入: cd c:\xampp\mysql\bin mysql.exe -u root --password 如果你想使用mysqldump.exe,你也应该在那里找到它。 登录到您的mysql服务器,然后开始输入命令。 希望它有帮助... Your My ...
  • MariaDB是MySQL的直接替代品,所以你会看到一些文件夹以mysql作为名称,但后面是MariaDB。 请参阅https://mariadb.com/kb/en/mariadb/mariadb-vs-mysql-compatibility/以及...... MariaDB is a drop-in replacement for MySQL so you will see some folders with mysql as name but MariaDB behind it. See https: ...
  • XAMPP官方网站的Windows常见问题解答中有一节(如何在Windows 10下的端口80上运行XAMPP?),这表示“默认情况下,Windows 10在端口80上启动Microsoft IIS”,并提供有关禁用它的说明。 The XAMPP official site's Windows FAQ has a section (How can I get XAMPP working on port 80 under Windows 10?) which indicates that "by defaul ...
  • 您的计算机上是否有Skype或类似的东西? 除非您在其设置中明确更改,否则Skype将使用默认的http和https端口80和443。 Do you have Skype or something similar running on your computer? Skype uses the default http and https ports 80 and 443 unless you explicitly change that in its settings.
  • 经过5-6个小时的努力,我终于找到了工作。 DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. 'NAME': 'tester', # Or path to database file if using sqlite3. ...
  • 我在Windows 7之前遇到了同样的问题。要让MySQL重新启动,请尝试运行Windows服务,方法是启动并在查找框中键入“services”。 您需要打开组件服务程序,然后导航到“服务(本地)”文件夹。 在中间面板中找到“mysql”列表,然后右键单击它并选择“开始”或“重新启动”以强制它运行。 Workbench实际上不会占用端口3306,因此它不应该是问题的原因。 为了让Workbench连接(是的,有时它很挑剔),通过转到Database - > Manage Connections选项卡来创建连 ...
  • 我发现打包的* AMP系统存在问题。 它们并不总是以其他应用程序所期望的方式安装。 例如,MAMP系统与Python不兼容。 在Windows上安装Apache,PHP和MySql非常容易(其中两个已经在Mac和Linux上) 如果你使用标准的MySql安装,你应该没有安装Workbench的麻烦,我已经在Windows和Mac上完成了。 我有时发现它有点冒险,它不会连接到较旧的服务器版本,并且在运行长脚本时往往会崩溃。 它也没有很好的查询UI,像PLSQL Developer到TOAD这样的好程序会很好。 ...

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)