| View previous topic :: View next topic |
| Author |
Message |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Mon Feb 21, 2005 1:03 am Post subject: MouseOver causes button press job to stop when leave ??? |
|
|
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..
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 |
|
 |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Mon Feb 21, 2005 2:05 am Post subject: |
|
|
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 |
|
 |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Mon Feb 21, 2005 2:37 am Post subject: |
|
|
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?  |
|
| Back to top |
|
 |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Mon Feb 21, 2005 3:41 am Post subject: |
|
|
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 |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
| Back to top |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Mon Feb 21, 2005 8:18 am Post subject: |
|
|
He-he, kinda like this thread - vtol doing a monologue all with himself. DIY support
Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
| Back to top |
|
 |
kOt Contributor

Joined: 19 Jan 2004 Posts: 89 Location: Fyffe, AL
|
Posted: Mon Feb 21, 2005 1:26 pm Post subject: |
|
|
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 |
|
 |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Mon Feb 28, 2005 4:18 am Post subject: |
|
|
wow - thanks for that
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  |
|
| Back to top |
|
 |
kOt Contributor

Joined: 19 Jan 2004 Posts: 89 Location: Fyffe, AL
|
Posted: Mon Feb 28, 2005 2:26 pm Post subject: |
|
|
You can use any window cursor name on them
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 |
|
 |
|
|
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
|
|