Page 1 of 1

pure basic standard events...

Posted: Sun Jan 01, 2006 8:53 pm
by DoMi
Is there a reason not to have defined standard PB events for the mouse like :
- #PB_EventType_LeftMouseButtonUp
- #PB_EventType_RightMouseButtonUp
- #PB_EventType_mouseMove
- #PB_EventType_MouseEnter
- #PB_EventType_MouseLeave
- #PB_EventType_MouseOver
...
Using windows API is incompatible with the others platforms ...
Many Basics implement them in their basic versions for most of the gadgets!?

It's the same question about canvas component which could be replaced by imagegadget if those events would exist

they are the only reasons which make me give up purebasic for simple tasks managing mouse events...

Thanks a lot for your explanation

DoMi

Posted: Sun Jan 01, 2006 10:02 pm
by blueznl
dunno but i admit i'd love to have some standard events for these as well...

Posted: Sun Jan 01, 2006 10:05 pm
by Polo
I agree.

Posted: Sun Jan 01, 2006 10:06 pm
by blueznl
we have evenmenuid() etc. perhaps an eventmouse() command?

Posted: Sun Jan 01, 2006 10:28 pm
by Polo
blueznl wrote:we have evenmenuid() etc. perhaps an eventmouse() command?
Then I want a eventkeyboard() ;)
I just don't like the shortcut things :)

Posted: Sun Jan 01, 2006 10:50 pm
by Hydrate
Polo wrote:
blueznl wrote:we have evenmenuid() etc. perhaps an eventmouse() command?
Then I want a eventkeyboard() ;)
I just don't like the shortcut things :)
This would be very usefull, its difficult to use because of it at the moment, i hate using the keyboard shortcuts.. and mouse events would be great.

Posted: Mon Jan 02, 2006 5:07 am
by Straker
I made the same exact request here.

I believe the issue has to do with some of these events not being cross-platform at this time (don't know what is coming for 4.0).

For example, you can't click an ImageGadget in Linux. See thread here.

Posted: Mon Jan 02, 2006 5:45 am
by Dare2
Polo wrote:Then I want a eventkeyboard() ;)
I just don't like the shortcut things :)
Me too!