forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Highlight Multi items in a table
Goto page 1, 2  Next
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Tue May 10, 2011 9:39 pm    Post subject: Highlight Multi items in a table Reply with quote

Is there a way that I can highlight multiple items in a table with the MULTI style setting?
_________________
Chris
Http://theblindhouse.com


Last edited by LiquidCode on Wed May 11, 2011 2:02 am; edited 2 times in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Aslan
Valued Contributor
Valued Contributor


Joined: 31 May 2001
Posts: 589
Location: Memphis, TN USA

PostPosted: Wed May 11, 2011 1:18 am    Post subject: Reply with quote

Do you mean programmically?

ctrl+click or shift+click works

Note: If you are using the Dialog Designer to set the Style, skip the first one because it's actually the tool tip. This is a bug.
Back to top
View user's profile Send private message Send e-mail
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Wed May 11, 2011 1:23 am    Post subject: Reply with quote

Yes, I meant programmically. Maybe with API or something?
_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Wed May 11, 2011 1:43 am    Post subject: Reply with quote

I found the API code to do it.

[EDIT] Nope, doesn't work Sad

_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
cnodnarb
Professional Member
Professional Member


Joined: 11 Sep 2002
Posts: 766
Location: Eastman, GA

PostPosted: Wed May 11, 2011 3:18 am    Post subject: Reply with quote

This might look familiar....

Code:
 %%match = @match(table1,nodnarb50)
%%index = @index(table1)
list seek,table1,%%index
%%WM_SETREDRAW = @sendmsg(@winexists(~table1),$B,0,0)
list seek,table1,0
%%count = -1
dialog focus,table1
repeat
%%count = @succ(%%count)
window send,@winexists(~table1),@shift(@key(down))
until @equal(%%count,%%index)
%%WM_SETREDRAW = @sendmsg(@winexists(~table1),$B,1,0)
Back to top
View user's profile Send private message AIM Address
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Wed May 11, 2011 4:07 am    Post subject: Reply with quote

LOL. Yeah it kind of does. Not sure where.....oh yeah! Thanks my brain wasn't adding 2+2 just (32^6)/145,364...a little busy. Shocked
_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
cnodnarb
Professional Member
Professional Member


Joined: 11 Sep 2002
Posts: 766
Location: Eastman, GA

PostPosted: Wed May 11, 2011 4:26 am    Post subject: Reply with quote

You're a busy dude lately, let me know if you need to hire some help LoL (actually I teach a class for the next three days, so I was bored, but as of tomorrow I'm good until end of school year coming very soon)
Back to top
View user's profile Send private message AIM Address
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Wed May 11, 2011 1:42 pm    Post subject: Reply with quote

This will not work for me. I need to be able to select items that are not in consecutive order. I want to highlight files in Save-It that have been updated and remove the green icon.
_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
cnodnarb
Professional Member
Professional Member


Joined: 11 Sep 2002
Posts: 766
Location: Eastman, GA

PostPosted: Wed May 11, 2011 5:53 pm    Post subject: Reply with quote

Your right, that won't work.

Enusure visible call won't work either for the first few top items...

If you can use an API call to standardize the Table height like you can with a list (for screen scaling) then you can get precise screenmetrics and use mouseclicks, although I'm not sure if this is the best way.

Hmmm...(*chomp* *chomp* on lunch)

CTRL + @Match doesn't work...

CTRL + Seek 0 doesn't match

ALSO on seek table elements don't behave quite right. Although all pointers point to seeked item the click index remains at the previous point.

I don't think this is possible with this element (outside of mouseclicks + screenmetrics). (I could be wrong now, but I don't think so).
Back to top
View user's profile Send private message AIM Address
cnodnarb
Professional Member
Professional Member


Joined: 11 Sep 2002
Posts: 766
Location: Eastman, GA

PostPosted: Wed May 11, 2011 6:02 pm    Post subject: Reply with quote

You could add a column and sort by updated then select?

(sucks)

HEY! Hang on, if you resort after such a selection by file names would the items remain selected? I don't know....and my lunch is over. I'll test tonight.
Back to top
View user's profile Send private message AIM Address
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Wed May 11, 2011 7:29 pm    Post subject: Reply with quote

No that doesn't work either. I'll have to try and come up with another idea for showing the last updated. I don't care for changing the icon except on files that don't exist in the original location.
_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Aslan
Valued Contributor
Valued Contributor


Joined: 31 May 2001
Posts: 589
Location: Memphis, TN USA

PostPosted: Thu May 12, 2011 12:06 pm    Post subject: Reply with quote

Quote:
I need to be able to select items that are not in consecutive order. I want to highlight files in Save-It that have been updated and remove the green icon.


I'm curious why you need to highlight the items just to remove the green check box.

What is the process you are trying to use?
Back to top
View user's profile Send private message Send e-mail
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Thu May 12, 2011 1:16 pm    Post subject: Reply with quote

I don't need to highlight them to remove the check box. I don't want to use the check box at all, just highlight them when they have been updated.
_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Aslan
Valued Contributor
Valued Contributor


Joined: 31 May 2001
Posts: 589
Location: Memphis, TN USA

PostPosted: Thu May 12, 2011 11:52 pm    Post subject: Reply with quote

I'm not sure how to programmically do that without some research.

I actually like the check box Smile Just wish it was in a different column or used as a state image and only used when the file is newer than the last snapshot.
Back to top
View user's profile Send private message Send e-mail
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Fri May 13, 2011 12:12 am    Post subject: Reply with quote

I have tried to do that, but it wasn't working right. I may have been doing something wrong, but all the rows were getting the check box in when I tried that. I may look into it a little more later.
_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group