如何更改黑莓按钮点击按钮

时间:2022-05-21 08:54:51

I want to change button on same button click how i can do that in blackberry. i used frame layout in android for overlay two field one after above so how i can change field on same click in blackberry?

我想在同一个按钮上更改按钮,点击我如何在黑莓中做到这一点。我在android中使用了帧布局,覆盖了上面的两个字段,所以我如何在黑莓中同一个点击更改字段?

like e.g i want to kept two buttons on same position when i click btn1 btn2 should display and when i click btn2 btn1 should display

例如,当我点击btn1 btn2应该显示时,我想保持两个按钮在同一位置,当我点击btn2 btn1应该显示

1 个解决方案

#1


0  

Hay i done with replace method thanks for all of u for reply

干草我用替换方法完成了感谢你的所有回复

i used vfm.replace(oldField, newField); to swap

我使用了vfm.replace(oldField,newField);互换

Changing part of the screen in when button clicks in Blackberry //here is the link

当Blackberry中的按钮点击时,更改屏幕的一部分//这里是链接

#1


0  

Hay i done with replace method thanks for all of u for reply

干草我用替换方法完成了感谢你的所有回复

i used vfm.replace(oldField, newField); to swap

我使用了vfm.replace(oldField,newField);互换

Changing part of the screen in when button clicks in Blackberry //here is the link

当Blackberry中的按钮点击时,更改屏幕的一部分//这里是链接