Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Creating a Webbrowser on a TabbedNotebook while in progress

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Kevin
Grandmaster Cheater Supreme
Reputation: 0

Joined: 07 Mar 2007
Posts: 1139
Location: Spiderman-World

PostPosted: Mon Jul 23, 2007 9:11 am    Post subject: Creating a Webbrowser on a TabbedNotebook while in progress Reply with quote

you all know IE7, FF, Avant Browser... they all got tabs.

How is it possible to do that?

I know a code which makes you able to create tabs in a notebook component while its in progress, but how do i at the same time add a webbrowser on the notebook tab?

hope you understand or i'll try explain deeper.
Back to top
View user's profile Send private message MSN Messenger
Trow
Grandmaster Cheater
Reputation: 2

Joined: 17 Aug 2006
Posts: 957

PostPosted: Mon Jul 23, 2007 9:30 am    Post subject: Reply with quote

hmm i've made one of those before.

tabs are "arrays of references to the web browsers" which cannot be destroyed.
You assign a TAG index to each browser and alloc each of those TAG indices to the web controls you have on your form which have the same TAG index as your index, why TAG explained later.

on tab button click event, you zOrder the TAG index web browser 0.
then you get a web browser (you can figure out the new tab and close tab on your own, too lazy to type)

why TAG index: tab buttons' indices get shifted when buttons of index less than yours is removed, so the tab button index is relative not static. use TAG to make for yourself a static reference to the web controls.

_________________
Get kidnapped often.
Back to top
View user's profile Send private message
Kevin
Grandmaster Cheater Supreme
Reputation: 0

Joined: 07 Mar 2007
Posts: 1139
Location: Spiderman-World

PostPosted: Mon Jul 23, 2007 9:43 am    Post subject: Reply with quote

actually i didnt understood much of that?

explain what TAG is?
Back to top
View user's profile Send private message MSN Messenger
assaf84
Expert Cheater
Reputation: 0

Joined: 03 Oct 2006
Posts: 238

PostPosted: Mon Jul 23, 2007 12:00 pm    Post subject: Reply with quote

You can make an array of TWebBrowsers, and everytime you add a tab yo your tabbednotebook, just do add another TWebBrowser to the array, create it, set his Parent to the tab that u created, set his other properties (Height, Width, Left, Right, etc..), and don't forget to set his Visible property to True.
Back to top
View user's profile Send private message
Trow
Grandmaster Cheater
Reputation: 2

Joined: 17 Aug 2006
Posts: 957

PostPosted: Mon Jul 23, 2007 6:21 pm    Post subject: Reply with quote

Ah, the tag


tag.jpg
 Description:
tag
 Filesize:  12.6 KB
 Viewed:  3301 Time(s)

tag.jpg



_________________
Get kidnapped often.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites