Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Browse object
Message
From
27/04/2005 10:17:19
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Browse object
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01008839
Message ID:
01008839
Views:
54
I use the webbrowser control, create a table with a width value and when it is rendered the table width is not as I wanted it

look at http://www.cortiel.com/screenshot.png

the second line should wrap but does not

when I print this the rest of the line on the right gets lost?

how can I make this wrap??

Here is my code:
SELECT ccprint
GO x3
DO CASE
	CASE ccprint.docType="FILENOTE"	&& File notes
		&& User clicked on leafe: Individual note 				
		TEXT TO lcHTML NOSHOW TEXTMERGE
			<HTML>
			<BODY>
			<table border="0" width="200" id="table1">  
				<tr >
					<td> -- --- <br>
						<<ccprint.notes>>
					</td>
				</tr>
			</table>
			</body>
			</html>
		ENDTEXT
		WITH THISFORM.oWB
			.NAVIGATE("about:blank")
			lnStartSeconds = SECONDS()
			DO WHILE .ReadyState <> 4 ;
					AND (SECONDS()-lnStartSeconds <= 1 )
				DOEVENTS
			ENDDO
			.DOCUMENT.OPEN()
			.DOCUMENT.WRITE(lchtml)
			.DOCUMENT.CLOSE()
			.VISIBLE=.T.
		ENDWITH
thanks

Peter
Peter Cortiel
Next
Reply
Map
View

Click here to load this message in the networking platform