Servoy Developer
Version R2 2.2.4-build 336
Java version 1.5.0_05-48 (Mac OS X)
[This problem also exhibited itself on 2.2.3]
I have a form based on table ‘product’
I have placed a series of fields on that form from the same table
I also have a tabPanel object on one side of the form showing a list view of the same ‘product’ table and sharing the same foundset.
I can scroll through the listview and click on a record and the fields in the main form display data from that record for me.
Basic stuff and works well.
I have created a highlight option using ‘servoy_row_bgcolor’ calculation so that when a record is clicked in the list then it highlights which record is being displayed.
Problem:
When I click on the record and it highlights then I CANNOT scroll up or down the list if I leave my mouse pointer over that highlighted record in the list view !
As soon as I move my mouse pointer onto another record in the list view - either up or down - then the scroll wheel works !
Anybody experienced similar issue ?
Cheers
Harry
Servoy Developer
Version R2 2.2.4-build 336
Java version 1.5.0_05-48 (Mac OS X)
I have discovered the underlying reason why the mouse pointer ignores the scroll wheel when hovering over the chosen record.
It is due to Servoy selecting edit mode when the field displayed from the record is clicked on in list view.
The properties for the field show ‘editable’ as unchecked.
However, the displayType for the field is text_area !
The field is set as text_area as I have a couple of lines of data which I want to wrap into a slim list view
So to review:
- List View in tabPanel
- Single field displayed - set as NOT editable and as type: text_area
- Clicking on field selects edit mode
- Freezes scroll wheel whilst hovering over selected record
Any thoughts anyone ?
Cheers
Harry
Hi Harry
It seems I have the same layout, except that I use a table view instead of list view. I do not have your described behaviour - I use a mighty mouse from Apple.
Servoy Developer
Version 3.0b1-build 362
Java version 1.5.0_05-48 (Mac OS X)
Best regards, Robert
Harry Catharell:
Servoy Developer
Version R2 2.2.4-build 336
Java version 1.5.0_05-48 (Mac OS X)
I have discovered the underlying reason why the mouse pointer ignores the scroll wheel when hovering over the chosen record.
It is due to Servoy selecting edit mode when the field displayed from the record is clicked on in list view.
The properties for the field show ‘editable’ as unchecked.
However, the displayType for the field is text_area !
The field is set as text_area as I have a couple of lines of data which I want to wrap into a slim list view
So to review:
- List View in tabPanel
- Single field displayed - set as NOT editable and as type: text_area
- Clicking on field selects edit mode
- Freezes scroll wheel whilst hovering over selected record
Any thoughts anyone ?
Cheers
Harry
I have reoslved this situation on the basis that I have removed the field formatted as a text_area and replaced it with a label formatted as HTML.
The HTML tagging allows for the text wrap to work within the label and does not invoke the edit operation whcih freezes the scroll wheel.
Question:
Is the activity of the text_area in allowing edit to be invoked whilst the field is set as not editable a bug or expected behaviour ?
Cheers
Harry
p.s. thanks for responding, Robert and thanks to Graham for the heads up about using HTML