English 中文(简体)
BlackBerry: 快速点击管理器和按钮字段
原标题:BlackBerry: Getting click on manager and button field simultanously

I have an verticalFieldManager as shown in fig. and in this manager I have some label field and a button field. Now on the click of the manager I have to go to other screen and on the click of that arrow button I have to show the details. Please give me some idea how can I do that.

https://i.sstatic.net/GZBBC.png" alt="fig"/ > https://i.sstatic.net/GZBBC.png" alt="fig."/ >

最佳回答

您需要使用 < a href=> http://www. blakberry.com/ developingers/docs/7. 1.0api/net/rim/device/api/ ui/ imported/ Button Field. html" rel=“ nofollow” > Button Field 来消耗点击事件。 简单的方式是向构建者传递某种风格的风格 : button Field. CONSUME_ CLICK

问题回答
  1. 首先添加水平字段管理器 。

  2. 然后在此水平字段管理器中添加垂直字段管理器和按钮( 显示细节) 。

  3. 现在向水平字段管理器( 转到下一个屏幕) 和按钮( 显示细节) 添加 seperate 收听器 。





相关问题
Very basic WPF layout question

How do I get this listbox to be maxiumum size, i.e. fill the group box its in. I ve tried width="auto" Height="auto", width="stretch" Height="stretch" annoyingly at the moment, it dynamicly sizes to ...

How to align the text to top of TextView?

How to align the text to top of a TextView? Equivalent Android API for Swings setInsets()? that is top of text should start be in (0,0) of TextView <?xml version="1.0" encoding="utf-8"?> <...

Centring a flow in Shoes

Can I center the contents of a flow in Shoes? I know that a paragraph can be centred like: para Centred paragrpah , :align=> center However, this does not work with flows: flow(:align=> ...

Overlaying with CSS

I want to load a website in an iframe, and overlay the website with some hints about the website that is shown. However, i got stuck at the point that the website has a variable passive white space at ...

How do you normally make a program look beautiful? [closed]

How can I make an Application look nice and not like an amateur pulled it together? I mean graphic-wise. Is there some sort of book you can read regarding beautiful program layouts, etc? I put this ...

热门标签