Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: tv.resizedevice  (Read 4171 times)
mathijs
Community Member
*
Posts: 377


« on: December 07, 2002, 11:42:48 AM »

I am running tv3d in windowed mode. tv.resizedevice crashes vb. What could this be?

Mathijs
Logged
Arli
Administrator
Community Member
*****
Posts: 993


Hi.
« Reply #1 on: December 07, 2002, 11:55:51 AM »

Make sure you call TV.ResizeDevice after TV is inited.
If u use the default event of the form (Form_Resize), that will cause a crash if you dont make sure u have inited before, because this event is called on first run of the app, wich is BEFORE TV3D is inited.

A simple way is,

dim inited as boolean
<do init stuff>
inited = true

resize sub
if inited then tv.resizedevice
end sub
Logged

Happy Coding

Arli
Truevision3D Developer
Arli@Truevision3D.com
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks