曲线组件

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

曲线组件

275件の閲覧回数
CHD
Contributor I

请问曲线组件在程序运行时,怎么禁止人为触摸改变?3-18-1.png3-18-2.png

0 件の賞賛
返信
1 返信

249件の閲覧回数
WenbinYuan
NXP Employee
NXP Employee

Hi @CHD,

 

For this issue you could clear the clickable flag of arc widgets.

For example, here are two ways to achieve the goal:

  1. add custom code to screen that contain the arc 
    lv_obj_clear_flag(ui->screen_arc_1, LV_OBJ_FLAG_CLICKABLE);​
    WenbinYuan_3-1710816654345.png
  2. add event setting to the screen to clear the arc flagWenbinYuan_2-1710816610283.png

 

Hope it helps you.

 

Best Regards,

Wenbin

 

0 件の賞賛
返信