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 


TabbedNotebook in delphi

 
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: Wed Jul 04, 2007 8:03 am    Post subject: TabbedNotebook in delphi Reply with quote

Is it possible to make a button on your form which creates a new tab in tabbednotebook ?

im making a webbrowser. i wanna add a feature like firefox has. Then when you click the button it opens a new tab with a webbrowser in.

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

Joined: 03 Oct 2006
Posts: 238

PostPosted: Wed Jul 04, 2007 10:47 am    Post subject: Reply with quote

I'm sure there is an "Add" method of the tabbednotebook... you can check..
Back to top
View user's profile Send private message
BoRed
Grandmaster Cheater Supreme
Reputation: 0

Joined: 24 Apr 2007
Posts: 1176
Location: ╞|ous█

PostPosted: Wed Jul 04, 2007 2:54 pm    Post subject: Reply with quote

I think you can last i checked
_________________
I got my old name back.......=)

Working on making website for stealth trainers (almonst done just having technical troubles)
Stealth forums will be down for 8 days or more starting august 2 saturday.
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: Thu Jul 05, 2007 6:48 am    Post subject: Reply with quote

i know.

but i want to be able to make so you can do like in Firefox...

when you click a button a new tab becomes visible and with a webbrowser on (possible you should make the tabs first)

but the problem is i cant make 1 tab invisible, and another visible.
Back to top
View user's profile Send private message MSN Messenger
DevilGilad
Grandmaster Cheater
Reputation: 0

Joined: 10 May 2007
Posts: 624
Location: Delete C:\WINDOWS folder and you'll be able to see me.

PostPosted: Thu Jul 05, 2007 6:58 am    Post subject: Reply with quote

I'm sure you can edit it with 'Add'...
_________________
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
Kevin
Grandmaster Cheater Supreme
Reputation: 0

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

PostPosted: Thu Jul 05, 2007 7:01 am    Post subject: Reply with quote

i want to be able to create new tabs using a button

so when the program is running, i can make new tabs.
Back to top
View user's profile Send private message MSN Messenger
MadDoom
Cheater
Reputation: 0

Joined: 27 Dec 2006
Posts: 38

PostPosted: Thu Jul 05, 2007 7:19 am    Post subject: Reply with quote

Here:
TabbedNotebook1.Pages.Insert(0,'New Tab'); Very Happy
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: Thu Jul 05, 2007 7:45 am    Post subject: Reply with quote

it worked, now, can i do so it automaticly sets a webbrowser component on the tab `?
Back to top
View user's profile Send private message MSN Messenger
assaf84
Expert Cheater
Reputation: 0

Joined: 03 Oct 2006
Posts: 238

PostPosted: Thu Jul 05, 2007 10:40 am    Post subject: Reply with quote

Kevin, It's more logically to add tabs in runtime than making some tabs invisible, because you can't know how many tabs the user want to add, and it's also saves some memory.
To set a TWebBrowser component you should make an array of TWebBrowsers, and every time you add a tab, just create another TWebBrowser. Remember to put the parent of it as the tab it'll be in, and align it so it will look normal.
Back to top
View user's profile Send private message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Thu Jul 05, 2007 11:14 am    Post subject: Reply with quote

Button1.Click(Tsedner:Object)
Begin
{If this button is clicked this will happen)
tabbednotebook.AddTab;
End;

Try it.
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: Thu Jul 05, 2007 1:29 pm    Post subject: Reply with quote

wont work,maddooms work.
Back to top
View user's profile Send private message MSN Messenger
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