问题标签 [delphi-10-seattle]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
android - 如何在 Delphi 中向 android 本地后台服务发送消息?
我知道如何将数据发送到远程后台 android 服务:
但是本地android服务怎么做呢?
还是有另一种方式在应用程序和后台 android 本地服务之间发送消息?
建议你们中的某个人解决这个问题?
android - 如何在 Delphi 的 TCalendar 组件中更改单元格颜色?
我需要在TCalendar
适用于 Android 和 iOS 的应用程序的组件中更改某些单元格的颜色。我正在使用 Delphi Seattle 10。有什么办法吗?
android - Delphi - 如何从类 TAndroidService 中获取服务 ObjectID?
有谁知道如何在 Delphi 中从 TAndroidService 获取服务 ObjectID(JNI 对象)或 JService?
非常感谢您的建议和回答。
delphi - Stop the IDE from adding uses units automatically
I am moving a Lazarus project to Delphi Seattle.
The Lazarus project depends on 40+ units (including controls) and has several applications.
In the uses clause of all the projects they used the following:
where they included those 40+ units with $I OurLibrary.inc
.
As some of those units are controls i registered them in Delphi.
However if i save the project or build / compile it, Delphi adds the units in the uses part again.
In this case the unit uOurEdit
got added again even tho it is in $I OurLibrary.inc
.
If i manually delete it and compile the project again it runs. Once i switch back in designer mode and try to run it the same thing keeps happening - it adds uOurEdit again.
Once you remove a unit Lazarus doesn't add it again. Delphi does that.
Is there are way to tell Delphi to stop readding units or stop add units automatically at all?
delphi - 未找到单元“CodeSiteLogging”
在 Delphi XE7 上,我在工具 > 选项 > 库路径 U:\Program Files (x86)\Raize\DM2\Lib\RS-XE7\Win32 上运行代码站点的代码。
代码正在运行,但我将代码升级到 XE10 西雅图。
现在我收到一个错误 F2613 Unit 'CodeSiteLogging' not found。我很困惑,没有像 U:\Program Files (x86)\Raize\DM2\Lib\RS-XE10Seattle\Win32 这样的路径
我必须在 XE10 西雅图上设置与 XE7 相同的路径吗?
delphi - 在设计时更新具有相同父级的控件
所以我创建了一个带有标签和编辑的新控件(就像标准的 TLabelEdit)。
控件继承自 TCustomEdit。
标签通过覆盖该SetParent
方法获得相同的父级。
当我现在在设计期间移动控件时,它只会移动控件的“编辑部分”并将标签留在其原始位置,就像我制作的这个视频一样:
http://gfycat.com/QuarrelsomeWildHammerkop
标签“生日”在移动控件时保持在同一位置。
有没有办法在拖动/移动控件时更新设计器中的两个位置?
我使用 Spy++ 记录了窗口消息,但它在移动时不会触发任何消息。
即使添加一个计时器并尝试每 20 毫秒调整一次标签大小也不起作用......
delphi - 在 TChart Delphi Seattle FMX 上格式化数据
使用 TChart,在 yAxis 上,我的数据范围为 0 到 100,000 之间的整数值。如何格式化 TChart 上的标签,如果当前系列的范围是 10,000-100,000,它在图表上读取为 10k、50k、90、100k 等。这是针对移动应用程序的,所以这样做的目的是节省手机空间以最大化图表显示。
使用 Delphi Seattle,FMX,为 iOS/Android 开发
delphi - Firemonkey:TWebBrowser 以无边框样式的形式使用时未显示
我正在 Delphi XE8 中开发 Firemonkey 应用程序,发现以下情况:
我需要以小形式显示一个小网页,其中只有一个 TWebBrowser 控件,其 Align:=Client 和 Form BorderStyle = None 但由于某种原因,在 Windows 中,窗体显示为灰色,并且 TWebBrowser 未显示,如您在图片中看到的那样。在 Mac OS 中按预期工作。
如果我禁用最小化、最大化或 SystemMenu 等 BorderIcon 之一,也会发生这种情况。我已经尝试过 Delphi 10 和同样的问题。我已经尝试过 TMS WebBrowser for Firemonkey (TMSFMXWebBrowser) 的试用版和同样的问题。
带有 TWebBrowser 和 FormStyle = Single in Win32 的表单
在 Win32 中使用 TWebBrowser 和 FormStyle = None 的表单
在 Win32 中使用 TWebBrowser 和 FormStyle = Single 和最大化按钮 = False 的表单
在 Mac OS 中使用 TWebBrowser 和 FormStyle = Single 的表单
有人知道原因以及我该如何解决这个问题?我真的很想以没有任何边框/图标的形式显示网页,就像在 Mac OS 中一样。
delphi - 单击 Bar Series 时如何操作 TChart?
使用 Delphi Seattle 和 iOS/Android 的 TChart 组件,我有一个条形系列图表。有没有一种简单的方法,这样当我点击一个栏时,一个弹出/图例/标注会显示在栏的顶部,并带有确切的值?
我遇到了 ClickSeries 事件,但是有没有更简单/更合乎逻辑的方法来做到这一点,而不必每次都从该事件中重新创建标注?我还注意到,当我向这个系列添加代码时(为了测试,我做了一个 showmessage(inttostr(valueindex))。此外,每当触发鼠标按下事件时,都会出现一个红色边框。
假设(如果可用)有一种简单的方法可以将此边框更改为本身的蓝色而不是红色,并在单击时自动显示标注,那么在 IDE 的 TChart 编辑器中的哪个位置是可能的?
从图表编辑器中,我尝试转到系列 -> 常规 -> 悬停,但这里没有得到我想要的效果。
更新:这是我在吃完所有东西后想出的。我可以按照最初的要求显示/隐藏标注,但仍然无法弄清楚如何修改出现的红色边框。现在,当触发 mousedown 事件时,标注的文本也会显示为红色。
android - 如何使用 Delphi 为 Android 创建工具提示
我正在使用 Delphi XE8 开发 android 应用程序。而且我怀疑如何使用 Delphi 为 Android 应用程序添加工具提示。通常,工具提示只会在第一次运行应用程序时显示。另外,我怎样才能实现相同的功能
下面的链接我已经提到了使用 Java 的 android工具提示:使用 JAVA的工具提示
请建议我如何使用 Delphi xe8 实现