PDA

View Full Version : OK button text problem



tshravan
2 Apr 2009, 8:58 AM
Hello All,

In my application I am extensively using setButtons(Dialog.OKCANCEL) method to display OK, Cancel buttons. But my problem is... it is always OK button text is showing as "Ok" (small k, not capital K).

As per the Dialog API, it says as okText is defaults to "OK" (capital K), but in my case it is NOT, so how can I change Ok text to OK.

Please help me.

Thanks,
Shravan

kolli
2 Apr 2009, 9:33 AM
you can try getting the button by Id "Ok" and try to set the text