4.6 vs 4.5

Everything else that doesn't fall into one of the other PB categories.
dige
Addict
Addict
Posts: 1432
Joined: Wed Apr 30, 2003 8:15 am
Location: Germany
Contact:

Re: 4.6 vs 4.5

Post by dige »

I agree with you. But in this case the EventType() value was'nt one
of the 8 supported types (mentioned in the manual). Or with other
words: with PB4.6 you'll get an #PB_EventType_Change event
and with PB4.5 its none of the event constants:

Code: Select all

Debug #PB_EventType_Change
Debug #PB_EventType_CloseItem
Debug #PB_EventType_DragStart
Debug #PB_EventType_Focus
Debug #PB_EventType_LeftClick
Debug #PB_EventType_LeftDoubleClick
Debug #PB_EventType_LostFocus
Debug #PB_EventType_ReturnKey
Debug #PB_EventType_RightClick
Debug #PB_EventType_RightDoubleClick
Debug #PB_EventType_SizeItem
Debug #PB_EventType_TitleChange
"Daddy, I'll run faster, then it is not so far..."
User avatar
skywalk
Addict
Addict
Posts: 4318
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: 4.6 vs 4.5

Post by skywalk »

Rings wrote:constants for values or types should never be used
with its number.
Just PUBLISH the constants & values in a csv format for pete's sake!
Is this too much too ask over and over... :evil:

Obviously if the PB team is changing them, they are not observing your suggested use.
Post Reply