|
-
Jan 28th, 2003, 04:51 PM
#1
Thread Starter
Frenzied Member
brwBrowser.RegisterAsDropTarget
OK, i am using two browsers in my current project, and with the one browser, i want to target all links to my main browser "brwBrowser" but, normal links, i dont want to open in it, except for links from my one page, so on my seconds form load, i do:
VB Code:
frmMainClient.brwBrowser.RegisterAsDropTarget = True
This doesnt cause ne errors, so i guess there isnt a problem there,
and in the second browsers html i have:
Code:
<tr>
<td><strong>Regions:</strong></td>
<td><p align="left"><form action="modules.php?name=Chat" method="get" target="brwBrowser"> <!-- ---------- This is the line, ----------- -->
<input type="hidden" name="name" value="Chat">
<input type="hidden" name="file" value="Room">
<input type="hidden" name="cat" value="Regions">
<select name="room">
<option>France</option>
<option>Germany</option>
<option>United Kingdom</option>
<option>United States</option>
</select> <input type="submit" value="Go">
</form></p></td>
</tr>
i target links, to the new drop target.
only the links dont open in my main window, it spawns a new IE window....
i have tried:
VB Code:
target="frmMainClient.brwBrowser"
to target the new page into my main window, but that wont work either..
is there a way i can target the links into the main window, with as little effort as possible?
i checked the MS DN Library, and it states that it should b able to work like this? [will find the url again if need it, but i cant seam to get this workin]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|