B4J Question [SOLVED]How do I stop a form in an expanded xcustomlistview from moving?

Hilton

Active Member
Licensed User
Longtime User
Hi folks,
1. there is a clv with multiple items
2. on clicking an item it expands revealing a form
3. the form is long and needs the use of the scrollbar to scroll around the form
4. there is a date at the top of the form and at the bottom of the form
5. when using the date dialog in the dates, the form will scroll to another position
necessitating the screen to be repositioned, which makes data entry a pain.

I also noticed that when entering data into a textfield there is not a problem, the form stays still.

I would like to know how to use the date dialog and keep the form in the same position after the
dialog is dismissed.

Thanks,
Hiilton
 
Last edited:

Hilton

Active Member
Licensed User
Longtime User
That's it, it was focus. I was already disabling all fields, however, using ReqFocus on the buttons that initiated the datepicker fixed the problem.

Just to add to it, I tried to remove the disabling of fields out of interest and it did not work, only the combination of disabling and reqfocus worked for me.

Thank you,
Hilton
 
Upvote 0
Top