Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...you guys have given us a way of asking a question and getting some very timely feedback from other users so we don't have to re-invent the wheel time and again..."

Geography

Where in the world do Tek-Tips members come from?
frnani (Programmer)
20 Jul 10 3:53
Hello, I´ve a problem with a hyperlink behavior...
I´ve a text member with several hyperlinks to open xls external files, and an attach handler with this code:

on hyperlinkClicked me, whereTo
  
  -- 101
  if whereTo="tab_101" then
    baOpenFile(the moviePath&"\tabelas\Tab_101_N2.xls","maximised")
  end if
  
  -- 102
  if whereTo="tab_102" then
    baOpenFile(the moviePath&"\tabelas\Tab_102_N2.xls","maximised")
  end if

(...)
End

When opening the files by the sequence of the links in the text (tab_101, tab_102... tab_n) it works perfectly.
But if I try to open the 1st file and after open the 3rd , this link doesn't work, and the 4th link acquires the parameter whereTo=tab_101, opening the wrong file.
On debugging, I conclude it has nothing to do with the use of the buddy api function, is a problem related with the hyperlinks only. If removing the line breaks in the text member, the bug disappears, but unfortunately I´ve to have a hyperlink in each line... 

Can anyone give me a hand?... I´m kind of lost in this problem
Thanks
 
frnani (Programmer)
21 Jul 10 3:20
It was a Director 11 bug... in the version 11.5 it performs perfectly.
Thanks

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Back To Forum

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close