User Login

Help Community Login:

Mouse move event

17 replies [Last post]

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
STaRDoGG's picture
From:
Olympus
STaRDoGG
Head Mucky MuckJoined the Dark SidePremium Member (Gold)I'm a Code Monkey!The Steel CurtainI use FirefoxI use Google ChromeI use Internet ExplorerI use SafariLinux UserMac UserWindows UserI donated to GeekDrop simply because I love it!Booga Booga BoogaI took a bite of the AppleFormer Phrozen Crew MemberI'm MagicMember of VileThe Dr. put the stem on the apple!The JokerSomeone thinks you're udderly delightful!
Relationship Status:
Divorced
Joined: 01/14/2009
Posts: 2555
Drops: 3006
Mood: Curious
Re: Mouse move event
Anonymous wrote:

And I was thinking of trying to use panels instead of sepereate forms. what do you think about using panels?

Whatever your preference is really, it's all in how you want to display it to the end user. The only difference between a Panel and a Groupbox is Groupboxes let you add a caption to it (panels don't), and Panels can have scrollbars (groupboxes can't). So if you need to add so many controls to a single window that it would make morse sense to have a scrollbar in it's frame, then a panel is useful. If you don't need a scrollbar, you can use either one. btw, in a Groupbox you can also have no caption if you want, just delete the default one it adds when you create it and don't type in anything.


Never play leapfrog with a unicorn
Evil Monkey's picture
Evil Monkey
Moderator (Watching Over The Masses)Premium Member (Silver)The Steel CurtainI use FirefoxI use Google ChromeI use Internet ExplorerI use SafariI'm Here To Help, & Have Proven It!Windows UserMember of VileThe JokerSomeone thinks you're a Rotten Tomato!STaRDoGG <3's you ;)
Joined: 01/22/2009
Posts: 234
Drops: 350
Re: Mouse move event

FYI I changed that question from using the mousehover to the mousemove event and it works much better.
--
I hope that after I die, people will say of me: "That guy sure owed me a lot of money.''

Evil Monkey's picture
Evil Monkey
Moderator (Watching Over The Masses)Premium Member (Silver)The Steel CurtainI use FirefoxI use Google ChromeI use Internet ExplorerI use SafariI'm Here To Help, & Have Proven It!Windows UserMember of VileThe JokerSomeone thinks you're a Rotten Tomato!STaRDoGG <3's you ;)
Joined: 01/22/2009
Posts: 234
Drops: 350
Re: Mouse move event

Well I'm almost done with this quiz app. I got it keeping score and will show you what % you got right out of 100%. I have to write in something though that will handle if a person doesn't enter in anything for a question. right now it goes out of bounds of my array and errors out if you try and submit without answering one or more questions. But I should be able to figure that out.

I have a silly question though Dogg, In order to show you my code for this app how exactly do I do that? With VS how would I view the code to the whole application all together in a way to present it?

--
I hope that after I die, people will say of me: "That guy sure owed me a lot of money.''

STaRDoGG's picture
From:
Olympus
STaRDoGG
Head Mucky MuckJoined the Dark SidePremium Member (Gold)I'm a Code Monkey!The Steel CurtainI use FirefoxI use Google ChromeI use Internet ExplorerI use SafariLinux UserMac UserWindows UserI donated to GeekDrop simply because I love it!Booga Booga BoogaI took a bite of the AppleFormer Phrozen Crew MemberI'm MagicMember of VileThe Dr. put the stem on the apple!The JokerSomeone thinks you're udderly delightful!
Relationship Status:
Divorced
Joined: 01/14/2009
Posts: 2555
Drops: 3006
Mood: Curious
Re: Mouse move event
Evil Monkey wrote:

Well I'm almost done with this quiz app. I got it keeping score and will show you what % you got right out of 100%. I have to write in something though that will handle if a person doesn't enter in anything for a question. right now it goes out of bounds of my array and errors out if you try and submit without answering one or more questions. But I should be able to figure that out.

That's called Input Validation. You can either trap the error(s) and handle them, or check them first, before anything else happens. I don't know if you're using text boxes, or what, for them to answer in, but for textboxes for example, you could check for it to be empty with something like an If txtBox.text.length = 0 then messagebox.show("You forgot to answer","Hey dum dum"). Or the same thing but check for an empty string like, If txtBox.text = "" then etc. etc.

There are similar ways to handle checkboxes. Option controls you don't need to worry about because as long as you set one of them as a default value when creating them, there'll always be one selected.

Evil Monkey wrote:

I have a silly question though Dogg, In order to show you my code for this app how exactly do I do that? With VS how would I view the code to the whole application all together in a way to present it?

You can just zip up the entire project folder and send it to me. When you code in VS it automatically creates compiled versions in the "bin" folder, a subfolder in that project's folder. There'll be a Debug version and a release version. You can leave those out of the zipped up project though, to make the zip smaller. As soon as someone else runs it once in VS the get created. Btw, that's also where you get the final .exe to distribute once you're done ... the one in the Release folder.


Never play leapfrog with a unicorn
Evil Monkey's picture
Evil Monkey
Moderator (Watching Over The Masses)Premium Member (Silver)The Steel CurtainI use FirefoxI use Google ChromeI use Internet ExplorerI use SafariI'm Here To Help, & Have Proven It!Windows UserMember of VileThe JokerSomeone thinks you're a Rotten Tomato!STaRDoGG <3's you ;)
Joined: 01/22/2009
Posts: 234
Drops: 350
Re: Mouse move event

yep I'm using radio buttons for the answers. All multiple choice. So I was figureing on just making a msgbox pop up telling them to answer and not let them move on till they do. I could just have it count no answer as a wrong answer but think I'd rather do it the other way.

So far I've only been doing the build option wich gives me an .exe in the debug folder. Seems like if I "publish" it creats a setup wich I don't really want. Or is there another way to get the final version of my project in the release folder other then just using build?

--
I hope that after I die, people will say of me: "That guy sure owed me a lot of money.''

STaRDoGG's picture
From:
Olympus
STaRDoGG
Head Mucky MuckJoined the Dark SidePremium Member (Gold)I'm a Code Monkey!The Steel CurtainI use FirefoxI use Google ChromeI use Internet ExplorerI use SafariLinux UserMac UserWindows UserI donated to GeekDrop simply because I love it!Booga Booga BoogaI took a bite of the AppleFormer Phrozen Crew MemberI'm MagicMember of VileThe Dr. put the stem on the apple!The JokerSomeone thinks you're udderly delightful!
Relationship Status:
Divorced
Joined: 01/14/2009
Posts: 2555
Drops: 3006
Mood: Curious
Re: Mouse move event
Evil Monkey wrote:

So far I've only been doing the build option wich gives me an .exe in the debug folder. Or is there another way to get the final version of my project in the release folder other then just using build?

Doing a Build also puts one in the Release folder.


Never play leapfrog with a unicorn
Evil Monkey's picture
Evil Monkey
Moderator (Watching Over The Masses)Premium Member (Silver)The Steel CurtainI use FirefoxI use Google ChromeI use Internet ExplorerI use SafariI'm Here To Help, & Have Proven It!Windows UserMember of VileThe JokerSomeone thinks you're a Rotten Tomato!STaRDoGG <3's you ;)
Joined: 01/22/2009
Posts: 234
Drops: 350
Re: Mouse move event

My release folder is alway's empty.

--
I hope that after I die, people will say of me: "That guy sure owed me a lot of money.''

Who's New

Sri's picture
bammer's picture
akay's picture
r1sc's picture
hakimo's picture
Tanpro's picture
Edualc31's picture
Dareyeww's picture
Tomel's picture
kik's picture
TANVIR's picture
HeaDHunteR's picture
cameron101914's picture
yogi6796's picture
greeg's picture
facebook codes exploits tips tricks Phrozen Crew
All contents ©Copyright GeekDrop 2009-2017
TOS | Privacy Policy