r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[View] discuss view related issues

Graham
3-Jan-2006
[3745x3]
Just playing with it .. I've only got two list entries, and the top 
one responds each time.  It's the bottom one that is resistant.
So, looks like a bug in that version of the list-view.
Trying it with 3 elements now.. only the top one responds reliably.
Henrik
3-Jan-2006
[3748x2]
I found a bug that might be related to that, but it only shows up 
if your row height is different than 20 pixels. It was fixed in 0.0.14.
the AGG part... right. the sort button uses AGG to display the sorting 
arrow. I could make that into an image and do some tests on an older 
View and see if it can run there...
Graham
3-Jan-2006
[3750x3]
view-list/scr/resize/x resizes the scroller in the list, but doesn't 
fix the little box above it.
Where do you set the row height again?
ok, found it .. can set the row height in the widths block.
Henrik
3-Jan-2006
[3753x2]
do you use RESIZE on the entire listview after updating the width 
of the scroller?
I think I've gotten rid of the AGG dependency and that will be part 
of 0.0.15, but there are many other dependencies, so I don't know 
whether it'll work with the plugin.
Graham
3-Jan-2006
[3755x3]
no, I didn't.
list/update resets all the row heights, and scroller width
Does your list support 0 width columns ?  For storing row related 
data that you don't wish to display.
[unknown: 9]
3-Jan-2006
[3758]
Or 0 row for related column data.
Pekr
4-Jan-2006
[3759x2]
Henrik - can I set-row somehow? I mean I can 'get-row, but would 
like to set particular row hilighted and if not in view, it should 
be scrolled to have it in view ....
my understanding is, that it is still VID dependant, so can't be 
used for Rebgui, right?
Graham
4-Jan-2006
[3761]
li/change-row-here ["This Row" "Has Been" "Changed"]
Pekr
4-Jan-2006
[3762]
change is different matter, no? you can change some data, but you 
just want to refresh the grid, not moving hilite. But I look for 
the option to programmably hilite particular row/cell
Graham
4-Jan-2006
[3763]
scroll-here
	

Scrolls the list so the selected value comes into view.
Henrik
4-Jan-2006
[3764]
graham: 0 width columns seems to work fine in 0.0.14 here, but you 
may not need it once column filtering is properly implemented. then 
you determine which columns need to be displayed with OUT-COLS and 
in which order
Pekr
4-Jan-2006
[3765x3]
ok, thanks ...
btw - lock-lst should be preserved for real locking, I would maybe 
introduce - no-edit, or no-select flags ... just a naming convention 
...
but maybe you don't intend on locking? - e.g. like in excel, typical 
split view, you want to lock few rowns/columns, to not be scrolled 
....
Graham
4-Jan-2006
[3768]
Henrik, there is no /resize function.
Henrik
4-Jan-2006
[3769]
I haven't thought about scroll locking yet
Graham
4-Jan-2006
[3770]
update
	

Updates the list, when inputting new values.

resize
	

Resizes the entire list view to fit.
Henrik
4-Jan-2006
[3771x2]
graham, you are right. resizing is done with UPDATE
I had RESIZE in the first version
Graham
4-Jan-2006
[3773]
so, how can I get the scroller to resize correctly ?
Henrik
4-Jan-2006
[3774]
UPDATE is meant to be used every time you want to display the list 
after any kind of change
Graham
4-Jan-2006
[3775]
I get the corner piece at a different size from the scroller.
Henrik
4-Jan-2006
[3776]
I'll have to implement this more cleanly, so the scroller updates 
correctly
Graham
4-Jan-2006
[3777]
And when I use /update, it restores the scroller width to the original 
and not my changed version.
Henrik
4-Jan-2006
[3778]
yep... it's hard set to 20 pixels right now. that will be fixed.
Graham
4-Jan-2006
[3779x2]
where can I change it ?
I did it before but can't find where I did it!
Henrik
4-Jan-2006
[3781x2]
search for

scr/resize/x 20

in the code
how about SCR-WIDTH? is that ok?
Graham
4-Jan-2006
[3783x2]
why not use scroller-width  ?
I know people like to save letters ... :)
Henrik
4-Jan-2006
[3785]
if it's standard... I just refer to the scroller everywhere as SCR
Graham
4-Jan-2006
[3786]
yes, I know.
Henrik
4-Jan-2006
[3787]
and the header is HDR, list is LST, edit is EDT
Graham
4-Jan-2006
[3788]
yep, you don't like vowels.
Pekr
4-Jan-2006
[3789]
mabe he just like TLAs :-)
Henrik
4-Jan-2006
[3790x2]
maybe it's just easier to search for in the code?
pekr, I don't know what it takes to make it compatible with RebGUI, 
as I've never worked with it.
Graham
4-Jan-2006
[3792x3]
http://www.compkarori.com/reb/pluginchat7.r
when you click on a name in the list, ip and port information is 
given.
prelude to private chat.