mIRC Home    About    Download    Register    News    Help

Print Thread
#158480 05/09/06 01:27 AM
Joined: Oct 2005
Posts: 827
P
pouncer Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: Oct 2005
Posts: 827
ive made a dialog in disaog studio. i added a listview on it
with 5 columns

but when i click on an entry how do i get it to highlight the whole entry?

i have to keep cliking in the column1 part

#158481 05/09/06 02:51 AM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Without having your code, this is just an example:
Code:
 on *:dialog:dialog_name:sclick:1:{
did -k $+ $iif($did(1).state,-c,-u) $dname 2-5 $did(1).sel
}

When you click on an item in the first column (I used ID 1), then the same lines in columns 2 - 5 are highlighted automatically

If you need more assistance, post your dialog code and I'll be happy to help.

#158482 05/09/06 11:29 AM
Joined: Oct 2005
Posts: 827
P
pouncer Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: Oct 2005
Posts: 827
thanks mate but it doesnt highlight the whole record :s

Code:
on *:DIALOG:log:sclick:*:{
  var %D = $Did

  if (%D == 1) {
    did -k $+ $Iif($Did(1).state, -c, -u) $Dname 1-2 $Did(1).sel
  }


the listview in this case has 2 columns

#158483 05/09/06 11:47 AM
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
mIRC doesn't have a listview control. Did you use MDX or DCX?

Either way, they should have styles similar to "fullrow" or "fullrowselect" - enable that style.

#158484 05/09/06 12:44 PM
Joined: Oct 2005
Posts: 827
P
pouncer Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: Oct 2005
Posts: 827
thanks im using mdx and dialog studio, but i dont see no option for fuill row select

#158485 05/09/06 12:59 PM
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
Dialog studio doesn't have the option, MDX does. Try reading the MDX help file.


Link Copied to Clipboard