forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


MouseOver causes button press job to stop when leave ???

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Mon Feb 21, 2005 1:03 am    Post subject: MouseOver causes button press job to stop when leave ??? Reply with quote

MouseOver causes button press job to stop when leave ???

I'm only using the mouseover to show a HAND and it goes to a mouse enter and a mouse leave label(s).

BUT, When I move the mouse away or off the button(mouse leave) after clicking it, it causes the click event (task) to stop immediately, its like when it goes to the mouse leave label it forgets to do what the button was susposed to do.

Anyone know whats wrong.. Rolling Eyes

By the way, this is not a BitBtn, its a regular button, allthough I have 2 other BitBtns on the same prog.. and even when I have mouseover disabled on the button of question, its same problem if I roll the mouse over another regular but with mouseover HAND...

Does mouseover require a evloop event processing traffic cop ? (because I dont have any extra event lines in my evloop)
Back to top
View user's profile Send private message Visit poster's website
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Mon Feb 21, 2005 2:05 am    Post subject: Reply with quote

OK
What would be a work around %E = event loopy ?
Anyone have a good simple one for mouse over ?
Sure would appreciate it..
Thanks
Back to top
View user's profile Send private message Visit poster's website
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Mon Feb 21, 2005 2:37 am    Post subject: Reply with quote

its VDS5 I'm talking about.. example below:

DIALOG ADD,BUTTON,v111,97,15,55,27,v1.11,,MOUSEOVER

:Evloop
wait event
goto @event()

:v111ENTER
dialog cursor,HAND
goto evloop

:v111LEAVE
dialog cursor,
goto evloop

seems it should be simple problem of just events etc..

any idea please? Very Happy
Back to top
View user's profile Send private message Visit poster's website
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Mon Feb 21, 2005 3:41 am    Post subject: Reply with quote

Sorry,
My fault, it turned out that it was a freak accident of a faulty IF inside my REPEAT-UNTIL with another lame IF statement.
Thanks anyways...
Back to top
View user's profile Send private message Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Mon Feb 21, 2005 7:39 am    Post subject: Reply with quote

No problem, glad to see you solved it... Smile
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Mon Feb 21, 2005 8:18 am    Post subject: Reply with quote

He-he, kinda like this thread - vtol doing a monologue all with himself. DIY support Laughing

Dread

_________________
~~ Alcohol and calculus don't mix... Don't drink and derive! ~~

String.DLL * advanced string processing
Back to top
View user's profile Send private message
kOt
Contributor
Contributor


Joined: 19 Jan 2004
Posts: 89
Location: Fyffe, AL

PostPosted: Mon Feb 21, 2005 1:26 pm    Post subject: Reply with quote

VSD5 can change cursor on buttons without a mouseover style
Code:

  DIALOG ADD,BUTTON,BUTTON1,211,8,64,24,BUTTON1,,HAND

_________________
Visual Dialogscript 5
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Mon Feb 28, 2005 4:18 am    Post subject: Reply with quote

wow - thanks for that Very Happy

I just searched the VDS5 dos again for HAND MOUSEOVER and other keywords, even looked in some styles, can't find the HAND style anywhere, but it does work.

Heres all I could ever find in the VDS5 Docs:

If MOUSEOVER is specified, a <name>ENTER event is generated when the mouse enters the boundary of the dialog element, and a <name>LEAVE event is generated when the mouse leaves the boundary.

Thanks again, that makes its real nice now Cool
Back to top
View user's profile Send private message Visit poster's website
kOt
Contributor
Contributor


Joined: 19 Jan 2004
Posts: 89
Location: Fyffe, AL

PostPosted: Mon Feb 28, 2005 2:26 pm    Post subject: Reply with quote

You can use any window cursor name on them Smile

HAND, HELP, UP, CROSS, NODROP, VSPLIT, NESW, IBEAM,
WAIT, WE, SIZE, MULTIDRAG, DRAG, NWSE, SQLW, NO,
HSPLIT, NS, NONE,DEFAULT

Haven't tried custom ones but maybe you can use them as well

_________________
Visual Dialogscript 5
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
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 can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group