Got an idea for enhancing PureBasic? New command(s) you'd like to see?
DoMi
User
Posts: 67 Joined: Sat Jan 10, 2004 5:41 pm
Location: France
Post
by DoMi » Sun Jan 01, 2006 8:53 pm
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
DoMi
blueznl
PureBasic Expert
Posts: 6166 Joined: Sat May 17, 2003 11:31 am
Contact:
Post
by blueznl » Sun Jan 01, 2006 10:02 pm
dunno but i admit i'd love to have some standard events for these as well...
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide
right here ... )
Polo
Addict
Posts: 2422 Joined: Tue May 06, 2003 5:07 pm
Location: UK
Post
by Polo » Sun Jan 01, 2006 10:05 pm
I agree.
blueznl
PureBasic Expert
Posts: 6166 Joined: Sat May 17, 2003 11:31 am
Contact:
Post
by blueznl » Sun Jan 01, 2006 10:06 pm
we have evenmenuid() etc. perhaps an eventmouse() command?
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide
right here ... )
Polo
Addict
Posts: 2422 Joined: Tue May 06, 2003 5:07 pm
Location: UK
Post
by Polo » Sun Jan 01, 2006 10:28 pm
blueznl wrote: we have evenmenuid() etc. perhaps an eventmouse() command?
Then I want a eventkeyboard()
I just don't like the shortcut things
Hydrate
Enthusiast
Posts: 436 Joined: Mon May 16, 2005 9:37 pm
Contact:
Post
by Hydrate » Sun Jan 01, 2006 10:50 pm
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.
Straker
Enthusiast
Posts: 701 Joined: Wed Apr 13, 2005 10:45 pm
Location: Idaho, USA
Post
by Straker » Mon Jan 02, 2006 5:07 am
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 .
Dare2
Moderator
Posts: 3321 Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land
Post
by Dare2 » Mon Jan 02, 2006 5:45 am
Polo wrote: Then I want a eventkeyboard()
I just don't like the shortcut things
Me too!
@}--`--,-- A rose by any other name ..