迪文科技论坛

 找回密码
 立即注册
搜索
查看: 71|回复: 1

[Question]How can I use a single Settings page for multiple background pages?

[复制链接]

3

主题

1

回帖

42

积分

新手上路

Rank: 1

积分
42
发表于 2026-9-7 14:07:18 | 显示全部楼层 |阅读模式
Hello,

I am designing a UI for the DMG80480C050_03WTC display. My UI consists of multiple background pages, and each background page has a Settings touch option.

Currently, when the user touches the Settings option, I switch to a separate Settings page corresponding to that particular background page. After completing the settings, I have designed touch and page-switching configuration to return to the respective background page.

For example:

Background Page 1 → Settings Page 1 →Return button→ Background Page 1
Background Page 2 → Settings Page 2 → Return button→ Background Page 2
Background Page 3 → Settings Page 3 →Return button→  Background Page 3

This approach requires multiple copies of the Settings page and additional page-switching configurations, which increases the number of images and consumes more flash memory.

My question is:

Is there any way in DGUS/DWIN to use one common Settings page for all the background pages, and after completing the settings, return to the previous page from which the Settings page was opened?

For example:

Background Page 1 → Common Settings Page → Return to Background Page 1
Background Page 2 → Common Settings Page → Return to Background Page 2
Background Page 3 → Common Settings Page → Return to Background Page 3

I would like to avoid creating separate Settings pages for each background page in order to reduce flash memory usage.

Is there any DGUS variable, command, register, or page-switching mechanism that can store the previous page number and return to it after completing the settings?

Please suggest the recommended method to implement this.

Thank you.
回复

使用道具 举报

0

主题

298

回帖

7602

积分

论坛元老

Rank: 8Rank: 8

积分
7602
发表于 2026-9-7 14:29:44 | 显示全部楼层
本帖最后由 chenzf 于 2026-9-7 14:50 编辑

Before cutting the page, you can first use the 0X14 interface to read the current page ID.
Read: 5AA5 04 83 0014 01
Response: 5AA5 06 83 0014 01 0007 (0007 represents page 07)
0X0084 is the interface for switching pages.
Switch page: 5AA5 07 82 0084 5A01 0001, display the 01-numbered image under the ICL file as the background picture. The fixed part in the front and the 0X0001 at the end is the page ID.
回复

使用道具 举报

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

本版积分规则

QQ|Archiver|手机版|小黑屋|迪文科技论坛 ( 京ICP备05033781号-1 )

GMT+8, 2026-9-23 03:01 , Processed in 0.043346 second(s), 22 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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