|
-
Aug 22nd, 2017, 05:18 PM
#1
Hyperactive Member
Re: CommonControls (Replacement of the MS common controls)
You set up the FlexGrid replacement control as a different project even though it shares a lot with this project. The thread traffic is relatively slow so I wonder if it is time to merge this project with that. It would make use a bit easier only having to mess with one set of files, whether as controls or an OCX.
-
Aug 30th, 2017, 06:08 AM
#2
Lively Member
Re: CommonControls (Replacement of the MS common controls)
 Originally Posted by MountainMan
You set up the FlexGrid replacement control as a different project even though it shares a lot with this project. The thread traffic is relatively slow so I wonder if it is time to merge this project with that. It would make use a bit easier only having to mess with one set of files, whether as controls or an OCX.
I agree with the above, this is a busy thread with active members, so the grid would have a proper discussion here
-
Aug 31st, 2017, 09:41 AM
#3
Fanatic Member
ListView function "FindItem" dont work
Version: 1.4.46
Control: ListView
The search function "FindItem" doesnt work here.
I tried different combination of the parameters but i never get back any ListItem.
Can anybody check this please?
BTW: Why does the function "FindItem" doesnt support the value-parameter (lvwText,lvwSubitem,lvwTag) ?
See FindItem Method (ListView Control)
-
Aug 31st, 2017, 08:58 PM
#4
-
Sep 1st, 2017, 01:53 PM
#5
Re: ListView function "FindItem" dont work
 Originally Posted by Mith
i cant edit my own post to add a attachment...
attached you will find a example project to test the FindItem method of the ListView.
You want to search for subitems which is not supported by API LVM_FINDITEM.
Anyway I do find the MS ListView FindItem method with lvwSubItem more or less stupid as you don't can search for a specific subitem or has an indication on which subitem the search was successful.
That's why I have excluded the 'Where' parameter in my FindItem method.
I could include a new function 'FindSubItem' (wrapper function) where it would be possible to specify a search on a specific subitem or when that param is missing do a search on all subitems. But that function would be performed 'manual' and not done by an API call.
 Originally Posted by Karl77
Remarks on the CommandButtonW
The CommandButtonW shall show a picture, so an imagelist is defined. Works fine.
A:
The caption starts right after the image border.
ImageListMargin seems to work on the left edge only.
Ok, I could make a special image for the button.
It would be good if it would work on the right edge too.
B:
LabelW and other controls have the wonderful EllipsisFormat.
Could we have it for a CommandButtonW as well?
A: In order to work the ImageListMargin on the right edge you need to change ImageListAlignment to 'Right'.
B: Not possible to include EllipsisFormat property to common CommandButtonW. However, it could work for a 'Graphical' Style CommandButtonW? Would that be sufficient?
-
Is there a need for a property page for the LabelW control? This would allow to make multiple lines of text in the caption property in design time.
Also is there a need for a ColumnHeaders property page in the ListView control? This would allow to setup the ColumnHeaders at design-time.
Last edited by Krool; Sep 1st, 2017 at 02:03 PM.
-
Sep 1st, 2017, 08:37 PM
#6
Hyperactive Member
Re: ListView function "FindItem" dont work
 Originally Posted by Krool
Also is there a need for a ColumnHeaders property page in the ListView control? This would allow to setup the ColumnHeaders at design-time.
This will be good.
-
Sep 2nd, 2017, 09:58 AM
#7
Fanatic Member
Re: ListView function "FindItem" dont work
 Originally Posted by Krool
I could include a new function 'FindSubItem' (wrapper function) where it would be possible to specify a search on a specific subitem or when that param is missing do a search on all subitems. But that function would be performed 'manual' and not done by an API call.
Sounds good
-
Sep 5th, 2017, 02:04 AM
#8
Fanatic Member
 Originally Posted by Krool
A: In order to work the ImageListMargin on the right edge you need to change ImageListAlignment to 'Right'.
Then the whole image is on the right side.
I was after having a distance to the text on the right side of the image, a padding around all borders of the image.
In the meantime I had a too simple idea to have it: A leading space in the caption. Done.
B: Not possible to include EllipsisFormat property to common CommandButtonW. However, it could work for a 'Graphical' Style CommandButtonW? Would that be sufficient?
No, I consider the graphical style useless at all.
A toolbar with one button only is better, it has the Ellipsis thing.
But it has not the appearance of a button, except VisualStyles=False, and this doesn't look good.
In the end I think I have to fake the Ellipsis format myself (it's not so hard).
Is there a need for a property page for the LabelW control? This would allow to make multiple lines of text in the caption property in design time.
No.
-
Sep 5th, 2017, 04:29 AM
#9
Fanatic Member
ListView Enhancement - row background color
Hi Krool,
is there any chance that u add a background color property for a complete row (item+subitems) at the listview (report mode)? 
here you can find a code example:
background-color-for-a-listview-item
...or ist this already possible? i didnt see any property for this...
-
Sep 1st, 2017, 03:39 AM
#10
Fanatic Member
Re: CommonControls (Replacement of the MS common controls)
 Originally Posted by Semke
I agree with the above, this is a busy thread with active members, so the grid would have a proper discussion here
Me too.
Otherwise it may be not clear that a new flexgrid is in the works.
It would be too bad to miss it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|