广州大彩串口屏论坛_大彩开发者交流论坛

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 821|回复: 1

数据记录控件怎么实现翻页功能

[复制链接]

3

主题

4

帖子

55

积分

注册会员

Rank: 2

积分
55
发表于 2024-1-5 14:23:52 | 显示全部楼层 |阅读模式
我这边数据记录控件可以往右翻页但是往左翻页就不行

if screen==4 and control ==13 and value==1  then
record_setoffset(4,1,-5)
end

往左翻页


if screen==4 and control ==15 and value==1  then
record_setoffset(4,1,5)
end

往右翻页

请问怎么实现往左翻页
回复

使用道具 举报

2

主题

1253

帖子

1万

积分

论坛元老

Rank: 8Rank: 8

积分
12543
发表于 2024-1-5 16:45:12 | 显示全部楼层
record_setoffset,通过索引翻页,每次加减对应的行数来实现
Easy doesn't enter into Grown-up life
成年人的生活里面没有“容易”二字
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|广州大彩串口屏论坛_大彩开发者交流论坛

GMT+8, 2024-5-2 12:57 , Processed in 0.052163 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表