mIRC Homepage
Posted By: jh20001 links in dialogs - 16/02/03 07:33 AM
I think I found an issue, unless im doing somthing wrong (which is always a possibility), but for some reasons, when you make a "link" in a dialog, it doesnt show up unless you hover the mouse over the are it is in, in which then it appears (blue). but unless you hover the mouse over its location, it will not show up as though the dname is hidden.
Didnt see this problem until mirc 6's appearence smile

Important facts to know.......the dids in the dialog show based on groups called by buttons (not tabs). Ant hey -v/-h based on which button you click. if you click on the button that the link is in (group of dids), it will ddissapear over an over again each time an each time you have to rollt he mouse over it to make it come back
Posted By: Watchdog Re: links in dialogs - 16/02/03 02:24 PM
Links show up for me in navy blue from V6.0 onwards (I think) and remain the same colour when hovered which sucks. It used to be dark blue and red when hovered which was much better. You arn't using the 'disable' or 'hide' styles are you?
Posted By: jh20001 Re: links in dialogs - 17/02/03 01:32 AM
Yes i am. Each group of didsgo -v or -h based on what main button they click on.. The ilnk is int he 3rd button. So when the window open the dids are disabled till you click button 3, then button 1 dids will hide an 3's will -v.
When you do thatm even though you -v'd the did,t he link is still not there till you hover over it.....so os so strange
Posted By: _D3m0n_ Re: links in dialogs - 17/02/03 02:10 AM
ok they show up for me just fine ........ are u sure ur setting up the dialogs correctly??? heres a simple example

Code:
 
dialog linktest {
  title "Testing Dialog"
  size -1 -1 72 45
  option dbu
  link "www.sitename.com", 1, 4 19 65 8
  button "Cancel", 2, 2 30 68 14, default cancel
  button "OK", 3, 2 3 68 14, ok
}
on *:DIALOG:linktest:sclick:1: {
  run http://www.sitename.com/index.html
}
on *:DIALOG:linktest:sclick:2: {
  echo -a $timestamp You have just clicked CANCEL
}
on *:DIALOG:linktest:sclick:3: {
  echo -a $timestamp You have just clicked OK
}

 


i see the link just fine as long as i type it into the setup ...... the run command can also run the exact url ..... u can substitutes anything for a url like the word WEBSITE or whatever ..... hopefully that helps ya a lil bit
Posted By: jh20001 Re: links in dialogs - 17/02/03 08:36 AM
that not what i meant lol. It works like that. You dont understand.
The window is setup with mulltiple sections, but not tabs. Instead of tabs, I used buttons, an assigned groups of dids to each button. Each group hides or shows depending on which button they click on. The link is in the group for button 2.
You simple made a dialog an thew on a link. That works fine. But set the did to ", hide" an show wehen you click on did 3 along with all the other dids int he group for did 3, it is invisable till hovered over
Posted By: _D3m0n_ Re: links in dialogs - 17/02/03 08:29 PM
could u possibly show something of your code so it can be reproduced???
© mIRC Discussion Forums