How to focus textfield after executing the textfield's callout in Adempiere - textfield

I have problem about callout in Adempiere. I have one callout in textfield, I want that after executing this callout, the cursor will focus on other textfield as we want
Please help me! Thank you

Can you please briefly elaborate what was the problem?
Do you need to call another callout ?
Field focus change purpose we need to modify the core classes of Framework.

Related

How to hide a keypad for IOS in Titanium without using 'blur'

Can anyone please let me know how to hide the keypad without using 'blur' in titanium for IOS.
My scenario is I have a textfield, When I scan an item, that value will be shown on textfield. When textfield is focused, the scanner will be activated. In this scenario i need to focus the textfield, but should not show the keypad.
Can any one please share your ideas.
Thanks,
Swathi.
There is no possibility to hide keypad when textfield is focused on iOS. It is a system thing.
I think your approach is wrong. Why do you need textfield if you don't want to type text there?
Instead of it:
- create label (or label inside view) with proper background (looking like textfield),
- add 'click' event which will start scanning (i suppose you have that functionality for 'focus' event),
- if you need cursor blinking than create animation next to label.

How can I avoid my UITextView from being covered by my UITableView?

I have created a forum with a View, and in the View I have placed a Text Field. My problem is, whenever I slide up they keyboard the text from the tableView are placed over the UIView and the TextField being covered. Any Idea what the reason behind this might be? While we are at it, maybe I shouldnt create a View with a TextField and instead use the standard look in iPhone sms apps, but I dont know how they created that bar. Any Ideas? I post all pictures below:
iPhone standard look, how to create something like this?:
My View with the text field:
My problem as i described above:
You can create a custom view for that and add it as an inputAccessoryView of the keyboard.
For more details please check apple documentation on this. When the keyboard is dismissed, show this view at bottom of the screen and when keyboard appears remove it from bottom and make it as inputAccessoryView.
inputAccessoryView:
The custom accessory view to display when the text view becomes the
first responder

adding an invisible button to the background in IB

I'm working with Xcode doing a Ipad app.
i simply want user to click anywhere on screen (not counting text fields) to perform some IBAction.I'm using an invisible button that covers my whole view.
Since I have some text fields in my view,i need to add this invisible button to the background of my user interface. I cant seem to find this option in the button attributes? any help?
Just set the button's type to custom.
Did you try setting the opacity of the button to zero?
I guess i got your point. You just want to put the UIButton(invisible) on the back of all the UITextField. The simple solution to this is open the Document Window in the IB. Now expand the view tree in the list view. Just drag your UIButton above the UITextFields and set the alpha value for the button in the property to be zero.
Hope this helps!!
iPad users don't "click". They "tap" or "touch".
In Interface Builder, I believe views are constructed with a z-index from top to bottom as they appear in the document window, so dragging your button so that it appears as the first subview of your main view should be a quick fix for this.
Have you considered other approaches? This doesn't sound like standard behaviour for an app and will probably cause havoc with anybody using Voice Over. What are you trying to accomplish?

Adding tooltip to UIbutton

Hey, am trying to figure out how to set up a button so that when the user clicks it a tooltip appears above it giving a brief description, similar to what happens when you click a pin in Google maps.
Does anyone have any ideas how to do this?
Thank
Hey, managed to get there in the end. What I wanted was a UIMenuItem and then just position it above my button by setting its frame

problem in TextFields

I got a problem in textfields.Actually I have 4 textfields when I click on to the first textfield and i entered the text into it.If I click on to the next textfield with out clicking on to the Done button in the keyboard of the first textfield the view goes up and the text in the first textfield is erased.
To solve this problem I used [TextField2 setUserInteractionEnabled:NO];
to disable the textfield until the first textfield should completes.
But I heard that Disabling the User Interface is a wrong process and its not a good idea to use in Iphone Apps.
So I got an Idea when we are typing the text into the textfield itself the text in the textfield should be saved.
Hey guys please help me how to get this.
Any one's help will be appreciated.
Thank you,
Monish Kumar.
Are your text fields inside a UITableView? If so, make sure you don't reuse cells or reload data.