Lock ColStyle 8192 (OpenInsight 32-Bit)
At 17 MAY 2010 07:43:04PM Colin Rule wrote:
I am setting the Colstyle for locking a specified number of columns on the left of an edit table. This works fine and you can scroll right leaving the left columns in place.
The problem is if you grab the horizontal scroll bar handle and drag it to the far right, not all columns display, and when you release the mouse, the handle jumps back left again.
You can use the right-arrow to scroll right, but I would prefer if the behaviour was as expected in Windows.
Any suggestions as to how to make this work properly.
Colin
At 18 MAY 2010 04:09AM Simon Wilmot wrote:
Hi Colin,
What OI version ??
I have tried on 9.1.0,
It seems to depend on how many columns you have locked, so well maybe a bug.
Created a table with 8 columns
If I lock 1 column, scrollbar displays all 8 then jumps back, still displaying all columns but using arrow then also displays a blank column
If I lock 2 columns, scrollbar displays up to column 7, jumps back and arrow allows all + blank column
Locking 3 columns, scrollbar to column 6 and arrow to 8 + blank.
Etc
Simon
Simon
At 18 MAY 2010 07:08PM Colin Rule wrote:
OI 8.0.8 in use.
At 19 MAY 2010 03:36AM Simon Wilmot wrote:
Hi Colin,
I am guessing that the best way forward at present will be to use two separate edit tables, especially if the locked columns will always be the same … if not it could always be coded to size appropriately although not quite so easily.
Someone from RTI may be able to confirm whether or not this is a bug (known or otherwise) or not and whether there are any other settings that may counteract the problem.
Cheers,
Simon
At 19 MAY 2010 09:16AM Sean FitzSimons wrote:
Colin,
I receive the same results using the OI 9.2 beta release. I am not aware of any settings that may counteract the problem, but I will note this in the Bug Tracker for future investigation.
Thank you,
Sean FitzSimons
Revelation Software
At 20 MAY 2010 07:56PM Colin Rule wrote:
We have used two separate edit tables in the past, but this is not a good solution. I use VSCROLL events to keep them aligned, but moving the current selpos left and right via the arrow keys to move between the two tables it far too complex and messy, with rows being highlighted in blue on separate rows etc… its just not as clean.
At 20 MAY 2010 08:30PM Colin Rule wrote:
Not sure whether this is the solution, but it seems to improve things.
I noted adjusting the screen size slightly realigned the scroll bar position.
SIZE=GET_PROPERTY(@WINDOW,"SIZE")
SIZE=SIZE+1
CALL SET_PROPERTY(@WINDOW,"SIZE",SIZE)
At 21 MAY 2010 09:13AM Sean FitzSimons wrote:
Colin,
Did you set the size property on the create?
Thanks,
Sean
At 24 MAY 2010 11:29PM Colin Rule wrote:
yes, the screen was centred and made visible just after these lines.