|
|
Delphi For 移动开发专版,非相关内容一律删除。 |
|
did try use Graphics32 ported to FMX (on Github) ? https://gi …… |
emailx45 |
2023/10/25 23:18:08 |
|
关于第一个问题,应该采用贝塞尔曲线进行绘制,实现光滑平滑 |
sxqwhxq |
2023/10/26 8:22:33 |
|
did you read this? https://docwiki.embarcadero.com/Libraries/ …… |
emailx45 |
2023/10/26 8:47:17 |
|
简单地用手写的密集像素点生产Bezier可能出现飞线。真要用Bezier要先抽样,并保持线条的特征,就像coredraw里的 …… |
wk_knife |
2023/10/26 8:58:42 |
|
FMX似乎没有提供对贝塞尔曲线的支持,但TPath和Canvas.drawpath功能似乎非常强大,准备好好地研究一下。 |
sxqwhxq |
2023/10/26 12:35:11 |
|
一、关于笔画精细问题 使用贝塞尔曲线拟合算法,取连续两个点,将其中点作为贝塞尔曲线控制点形成pathdata后drawpa …… |
sxqwhxq |
2023/10/26 17:48:33 |
|
期待楼主深入研究,带领大家一起学xi。 |
tuao |
2023/10/27 8:51:06 |
|
不就壓力感應壓到幾個點而已。 有需要講這麼多東西嗎? 多點觸控而已。 講什麼曲線的什麼鬼。 不就是如ANDROID …… |
powerpcer |
2023/10/27 9:40:21 |
|
…… 此帖回复超过12条,中间记录省略。 |
…… |
…… |
|
毕竟是java写的,它本来就是写安卓的,这个在delpi里没办法实现,例如android里有个VelocityTracker …… |
sxqwhxq |
2023/11/1 8:19:30 |
|
公式:距離/時間=速度 (Velocity)
D0 為初始點 Dt 為經過時間 T 的點 T 為時間 V 為速度 …… |
powerpcer |
2023/11/1 9:30:09 |
|
笔画宽度与速度负相关,即与速度的倒数正相关(不一定是线性的),则笔画宽度肯定与时间正相关,即两点间经过终点的时间越长,则两点 …… |
sxqwhxq |
2023/11/2 19:30:48 |
|
google浏览器cookie保存在啥文件夹的,直接读取不好么? |
letianwuji |
2022/5/12 16:06:54 |
|
CEF4Delphi\demos\Delphi_VCL\CookieVisitor |
abcjingtong |
2022/5/12 19:24:29 |
|
@letianwuji (大器晚成) 你是指将自己的COOKIE目录指向谷歌浏览器的目录吗 |
bbnn38 |
2022/5/12 22:51:26 |
|
@abcjingtong (jingtong) 看了这个例程,里面是展示如何获取所有COOKIE和写入COOKIE,我是想问 …… |
bbnn38 |
2022/5/12 22:53:27 |
|
都已经用CEF4DELPHI了,其实你自己绑定个delphi的对象,自己去取指定目录下的文件就可以了 |
abcjingtong |
2022/5/12 23:14:34 |
|
https://www.cnblogs.com/rtcmw/p/8108120.html 看这里。
相关代码片段: …… |
letianwuji |
2022/5/13 8:44:07 |
|
最新版刚下载的CEF4DELPHI已经没有GlobalCEFApp.Cookies 这个属性了 |
bbnn38 |
2022/5/13 12:43:06 |
|
按照https://www.cnblogs.com/rtcmw/p/8108120.html的设置就好了,感谢楼上2位 |
bbnn38 |
2022/5/13 12:52:46 |
|
75还是78之后的版本,已经没有GlobalCEFApp.Cookies了。 我是按CookieVisitor中的例子去读 …… |
cdchq |
2022/5/13 13:24:46 |
|
新版本没有GlobalCEFApp.Cookies 属性要怎么搞呢? |
xfaw |
2023/11/1 16:08:30 |
|
You need laser beam with sensitive timer for single camera, or …… |
kostyantynko |
2023/10/26 17:35:51 |
|
用线程, 做好算法队列.. |
tuesdays |
2023/10/24 20:07:06 |
|
其实win下的也不准确,因为timer线程会常因其他的而延后的。 |
supermay |
2023/10/25 8:06:36 |
|
Windows下的Timer也不准啊,Windows下也就是只是把一个WM_Timer消息定时推送到消息队列,具体处理时间是 …… |
wr960204 |
2023/10/25 14:36:00 |
|
什么需求要求准呢? 你是想订单一秒接收1万单? 那跟timer没关系, 还是队列处理. |
tuesdays |
2023/10/25 18:00:34 |
|
Delphi 的 TTimer 是主线程的。如果你有其它代码在执行,非常繁忙,把主线程堵住了,那 TTimer 就不准了。不 …… |
pcplayer |
2023/10/26 17:04:30 |
|
https://docwiki.embarcadero.com/Libraries/Sydney/en/FMX.Contro …… |
emailx45 |
2023/10/19 7:00:02 |
|
@emailx45 Thank you, does it only work when the control is dra …… |
mp654kk |
2023/10/20 0:54:07 |
|
show your code / form structure/ properties definitions for an …… |
emailx45 |
2023/10/20 1:53:10 |
|
你这想法,好象不对劲呢
即然你用Listbox,可以hittest:=false来禁止滑动,为了支持用户点击item上 …… |
bdl1 |
2023/10/16 17:04:32 |
|
@bdl1 谢谢 用stringgrid代替应该省事很多 |
mp654kk |
2023/10/18 20:56:18 |
|
Do you mean, get the first visible item in the list?
It m …… |
emailx45 |
2023/10/13 23:44:57 |
|
@emailx45 Yes, can the scrolling value be obtained? |
mp654kk |
2023/10/14 1:23:06 |
|
as said before, in a "class" exists many others hided... sho …… |
emailx45 |
2023/10/14 2:27:51 |
|
@emailx45 Thanks,is this how to get it? This is written by Cha …… |
mp654kk |
2023/10/15 18:47:21 |
|
try this:
xxxxx AS TScrollBar.... or TScrollBar( xxxx …… |
emailx45 |
2023/10/16 7:09:59 |
|
@emailx45 谢谢 改成这样就可以了 procedure TForm1.Button1Click(Sender: T …… |
mp654kk |
2023/10/16 13:02:10 |
|
安卓是基于 FireMonkey 的,这种玩意你要修改界面就改它的 Style。 |
pcplayer |
2023/8/19 13:40:03 |
|
@pcplayer 我看gpt说修改stroke属性 但是并没有这个 style里面也没有呢 |
mp654kk |
2023/8/19 13:45:46 |
|
stroke 不是 style 里面的,是指它的边框的画线的一些属性。比如线条粗细等等。这个下拉框不一定有这个属性。你在属性 …… |
pcplayer |
2023/8/19 14:04:30 |
|
@pcplayer 是的 我知道是在样式设计器里面 怎么加边框呢 或者有办法把安卓下的样式直接替换成windows的样式吗 |
mp654kk |
2023/8/19 14:18:00 |
|
平台选为Android, Style也为Android(在窗体设计器的顶部) 然后打开Style设计器(通过组件弹出菜单, …… |
janker |
2023/8/19 15:02:39 |
|
FMX的Style设计器,从诞生到现在,都是这样,难用无比 |
janker |
2023/8/19 15:04:12 |
|
最简单是把GroupBox放在一个Trectangle里,然后设置Trectangle的Padding的大小为边框大小,搞定。 |
janker |
2023/8/19 15:20:11 |
|
@janker 真详细 两个办法都可以 非常感谢 假如我想改groupbox的背景颜色或者把标题的位置移动到window …… |
mp654kk |
2023/8/19 15:33:17 |
|
…… 此帖回复超过12条,中间记录省略。 |
…… |
…… |
|
PNG |
mp654kk |
2023/10/16 12:49:27 |
|
PNG |
mp654kk |
2023/10/16 12:50:47 |
|
PNG |
mp654kk |
2023/10/16 12:51:00 |
|
权限也是勾上的,但提示Required permission(s)[CAMERA]have not been granted. PNG |
mp654kk |
2023/10/12 1:40:18 |
|
官方的示例就复杂很多,台湾人写的教程忽略了一些东西吗?还是必须要官方示例那样复杂呢? //----------
// …… |
mp654kk |
2023/10/12 1:42:55 |
|
How ask permissions on Android
0) Project -> Options... Per …… |
emailx45 |
2023/10/12 4:31:38 |
|
@emailx45 Thank you. I have manually granted permissions to th …… |
mp654kk |
2023/10/12 12:43:47 |
|
@emailx45
CameraComponent1.Active := True; //Add this sent …… |
mp654kk |
2023/10/12 15:24:54 |
|
you ALWAYS works in "AndroidManifest.TEMPLATE.xml" in project …… |
emailx45 |
2023/10/12 22:51:43 |
|
@emailx45 I tried and it's no use modifying 'AndroidManifest …… |
mp654kk |
2023/10/14 1:38:37 |
|
There are permissions that are strictly given by the system an …… |
emailx45 |
2023/10/14 1:58:24 |
|
…… 此帖回复超过12条,中间记录省略。 |
…… |
…… |
|
why do I still get an error? PNG |
mp654kk |
2023/10/14 2:16:25 |
|
to use your CAM in Android, basically:
0) check the permiss …… |
emailx45 |
2023/10/14 2:41:42 |
|
@emailx45 Thank you, I checked it out,Before Delphi 10.3, Andr …… |
mp654kk |
2023/10/15 20:07:00 |
|
开个线程 600毫秒一个循环, 判断按键即可. 如果连击, 你需要弄个算法. |
tuesdays |
2023/10/10 22:20:59 |
|
see my post
https://bbs.2ccc.com/topic.asp?topicid=683847 |
emailx45 |
2023/10/11 0:01:39 |
|
@tuesdays @emailx45 非常感谢二位 |
mp654kk |
2023/10/11 15:33:36 |
|
运行后 PNG |
mp654kk |
2023/10/8 15:38:42 |
|
NOTE: 1) in DesignTime you has a "preview" done in Windows as …… |
emailx45 |
2023/10/9 6:12:56 |
|
@emailx45 比如combobox没有ControlTyp属性,或者默认已经是Styled了. 添加一些线条、图片、 …… |
mp654kk |
2023/10/9 12:59:38 |
|
1) right button on component
2) Edit Custom Style
3) "ba …… |
emailx45 |
2023/10/9 22:55:16 |
|
@emailx45 Thank you. I added a rectangle, but I don’t know why …… PNG |
mp654kk |
2023/10/10 1:22:55 |
|
This is the program RAR |
mp654kk |
2023/10/10 1:23:29 |
|
all control with HITTEST = TRUE get mouse click.... then you s …… |
emailx45 |
2023/10/10 5:47:03 |
|
@emailx45 Thank you, that's it. What's the difference betwee …… |
mp654kk |
2023/10/10 19:11:28 |
|
…… 此帖回复超过12条,中间记录省略。 |
…… |
…… |
|
StyleName = object name for styles ( not name of object itself …… |
emailx45 |
2023/10/10 23:34:26 |
|
Important: -- a class can be (normally it is) composed by mor …… |
emailx45 |
2023/10/10 23:40:35 |
|
@emailx45 Thank you very much. I guess I need to add a rectang …… |
mp654kk |
2023/10/11 15:32:46 |
|
NOTE:
You can prevent the default popoup menu by adding an …… |
emailx45 |
2023/10/8 0:14:28 |
|
@emailx45 谢谢 这个思路不错 |
mp654kk |
2023/10/8 15:42:14 |
|
delphi进行pptp拨号的源代码
http://wedelphi.com/t/185993/ |
emailx45 |
2023/9/27 12:42:23 |
|
Does it work in FMX App? |
stacker |
2023/9/27 13:09:07 |
|
我觉得你搞错了目标,你要做的不是用app做pptp连接,直接用手机的vpn功能连接,手机像在原环境内一样用就好。 |
andyliuxp |
2023/10/6 11:05:50 |
|
我的意思是不需要用户自己申请vpn,而是我提供用户vpn功能。 |
stacker |
2023/10/6 16:53:16 |
|
你这是要做一个本地路由代 理软件啊。理论上用 Delphi 写一个代 理软件是肯定可以的。问题是代 理这种网 络编程.... …… |
pcplayer |
2023/10/6 17:47:57 |
|
RAD Studio can create "Android Services", you can use the "wiz …… |
emailx45 |
2023/9/27 21:18:35 |
|
TO:emailx45
新建的Android Services如何跟APP进行绑定使用与安装呢,能否提供一个例子 …… |
changfenglee |
2023/9/27 22:18:13 |
|
@changfenglee
you would can start from Embarcadero document …… |
emailx45 |
2023/9/27 23:15:58 |
|
好的,谢谢,我先研究一下 |
changfenglee |
2023/9/28 7:35:37 |
|
研究出来发发 |
abencat |
2023/9/28 8:43:13 |
|
To: abencat
没问题 |
changfenglee |
2023/9/28 17:38:13 |
|
标记一下,等研究,谢谢 |
newsxy |
2023/9/30 22:17:56 |
|
你是不是想要在关屏下运行后台程序?java的思想是这样的。 1、定义一个BroadcastReceiver的类,来接收闹钟 …… |
jwj76 |
2023/10/2 17:05:25 |
|
这个警报只有第一次才会有,后面再点击按钮就不会再报出来 |
changfenglee |
2023/9/28 17:54:22 |
|
兄弟, 写代码, try要时刻用上啊. GetData 方法加个sleep, 让它稍慢几秒再工作. |
tuesdays |
2023/9/28 18:07:04 |
|
用了try也是一样的效果 procedure TFOEE.SpeedButton1Click(Sender: TObjec …… |
changfenglee |
2023/9/28 18:12:58 |
|
另外还有一个现象
我在雷电安卓模拟器上不会报错,在真机上才会 |
changfenglee |
2023/9/28 18:34:01 |
|
"Duplicates not allowed" 常在共享线程中,对某控件进行个性时,比如个性控件的选中状态时可能会发生。控 …… |
k3man |
2023/9/28 21:02:58 |
|
把上面的“个性”换成“修改”。 |
k3man |
2023/9/28 21:03:45 |
|
To:k3man
非常感谢,您说的是对的,我把代码改成如下所述,问题解决了
try …… |
changfenglee |
2023/9/28 21:16:10 |
|
事实上,你这样操作可能并不理想,如果在GetSmtTotailOEE; GetSmtLineOEE; …… |
k3man |
2023/9/28 21:38:15 |
|
…… 此帖回复超过12条,中间记录省略。 |
…… |
…… |
|
按照前面的理解,下面这种写法是否正确,还请大家指点一下,实际执行起来也不报错,看不出什么问题。
procedure T …… PNG |
changfenglee |
2023/9/30 13:33:18 |
|
21 楼的写法没有问题。
但是,考虑到代码的简单性,没必要的话,不要在一个函数里面包含2种东西。
比如,你这样写 …… |
pcplayer |
2023/9/30 17:09:37 |
|
非常感谢,总算是有点眉目了,接下来我把原来的代码再重新写一下,看看效果怎么样。
再次感谢所有帮忙指导我的朋友们,现在D …… |
changfenglee |
2023/9/30 19:41:03 |
|