Author |
Message |
Darkmantis
![](http://compsci.ca/v3/uploads/user_avatars/26883420945d0bc0dc57ea.jpg)
|
Posted: Thu Apr 13, 2006 11:29 am Post subject: Making smart buttons for my web browser |
|
|
I working on a web browser I've followed tutorials and such but none of them tell me how to make smart butons so tha they disable when they ae not needed, for example when I start up the browser and Im at the starting page I click back even though it cant and an error show up and end it. plz help ![Very Happy Very Happy](http://compsci.ca/v3/images/smiles/icon_biggrin.gif) |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
GlobeTrotter
|
Posted: Thu Apr 13, 2006 12:23 pm Post subject: (No subject) |
|
|
You're probably going to have to code that kind of stuff yourself. In the page_load procedure, just put a check:
cmdBack.Enabled = (NumOfBackPages > 0)
That kind of thing. The buttons can't think for themselves, you're going to have to code them. |
|
|
|
|
![](images/spacer.gif) |
Darkmantis
![](http://compsci.ca/v3/uploads/user_avatars/26883420945d0bc0dc57ea.jpg)
|
Posted: Fri Apr 14, 2006 11:17 pm Post subject: (No subject) |
|
|
wtf is that? waht kind of fucking help is that? what the fuck! |
|
|
|
|
![](images/spacer.gif) |
md
![](http://compsci.ca/v3/uploads/user_avatars/1849317514ed6c4399768d.png)
|
Posted: Fri Apr 14, 2006 11:20 pm Post subject: (No subject) |
|
|
Umm... seems like he told you how it might be done... seems like some good help to me.
Perhaps you are an immature 6 year old who is unfamiliar with the way in which help it offered; and who has failed to realize that swearing at those who try and help will only make them dislike you.
Good luck getting help now dumbass |
|
|
|
|
![](images/spacer.gif) |
tupac
![](http://compsci.ca/v3/uploads/user_avatars/4505289784b82e037a6d87.jpg)
|
Posted: Sat Apr 15, 2006 4:18 pm Post subject: (No subject) |
|
|
even tho Darkmantis is a dumass, i'm still gonna try 2 help. this is probably no the most efficient way that you can do this, make a variable called "numofpages" or something, and every time you go to a new page, the variable (which is an integer) will increase by a value of 1. when the back button is clicked, the variable will decrease by 1, and when it reaches 0, the button disables. and try to play around to make the other buttons work.
P.S. by now you should stop being a lil b***h, and grow and try to thank pple for giving their time to help you |
|
|
|
|
![](images/spacer.gif) |
Darkmantis
![](http://compsci.ca/v3/uploads/user_avatars/26883420945d0bc0dc57ea.jpg)
|
Posted: Tue Apr 18, 2006 10:51 am Post subject: (No subject) |
|
|
well, the last post was a lot more helpful then the 2nd so thank u all for the help. And btw I was having a bad day that day! |
|
|
|
|
![](images/spacer.gif) |
Darkmantis
![](http://compsci.ca/v3/uploads/user_avatars/26883420945d0bc0dc57ea.jpg)
|
Posted: Tue Apr 18, 2006 11:04 am Post subject: (No subject) |
|
|
Oh and one more thing how would I get the program to add one to numofpages if i click a link??? |
|
|
|
|
![](images/spacer.gif) |
|