Jump to content


rond

Member Since 25 Jan 2011
Offline Last Active Jul 01 2011 03:27 PM
-----

Posts I've Made

In Topic: other color for scrollbar

21 March 2011 - 10:35 AM

QUOTE (user22 @ Mar 17 2011, 09:43 PM) <{POST_SNAPBACK}>
i have searched around and found out, that this can only be done in a simple way for windows globaly (what i don't want) or with complex programming, what is not worth it, so please forget my question.

But what is with my other two questions from 10 days ago, Boki? No reaction is a little bit frustrating.

regards,
Helmut

You might want to check out a skinning-component.
I'm using AlphaSkins ( http://www.alphaskins.com/ they've got a demo and precompiled components allowing you to test them), which is pretty easy to use.
They did manage to override the scrollbar color/style.

In Topic: [v5111] combobox can't be used if part of column is out of view ...

02 March 2011 - 12:42 PM

That does indeed fix the initial issue.

I did notice that it still is possible for a user to hide too much of the column, which makes the selection difficult.
I guess that could be solved by setting the Listwidth to a value that makes sense. That way the list itself remains readable.

Additional testing revealed a similar issue for columns on the right hand side of the grid.
If that happens the 'dropdown button' of the combobox becomes unavailable to the user.

In Topic: [v5111] combobox can't be used if part of column is out of view ...

02 March 2011 - 10:46 AM

I will test modification in my next version.

In Topic: How to use Multiselect without Rowselect ?

02 March 2011 - 10:43 AM

QUOTE (Boki (Berg) @ Mar 2 2011, 02:24 AM) <{POST_SNAPBACK}>
Hello Rond,

Please sorry, I don't understand. Can you give me more details. Thank you.

Best regards


I have a grid in which the user can edit all cells.
However the user must also select which multiple rows (goMultiSelect) he'd like to copy to another part of the dialog.
In order to do this I need to see which rows he has selected.
Unfortunately there appears to be no way to do this without enabling 'goSelectFullRow' in your grid.
With 'rowselect' enabled I can't edit any of the cells any more.

CODE

...
procedure TNxCustomGridControl.SelectCell;
var
OldCol, OldRow, i: Integer;
CanSelect: Boolean;
begin
...
if GetRowCount = 0 then Exit;

if goSelectFullRow in Options then // replacing this with 'if true then' appears to enable multiselect
// if True then
begin



See attached screenshot for example after I modified your code.

In Topic: [v5111] combobox can't be used if part of column is out of view ...

28 February 2011 - 10:53 AM

QUOTE (Boki (Berg) @ Feb 26 2011, 10:11 PM) <{POST_SNAPBACK}>
Hello Rond,

If you can tell me step by step how to reproduce this bug, I will be able to add fix into official release and you will not need to add additional code.

best regards

All that appears to be required is for a column that has a combo-box as the editor.
I've managed to repeat this behaviour in a NextDbGrid where the first column was a TNxLookupColumn.
I stretched one of the other columns to make sure I could scroll horizontally move that first column a bit outside of the grid.