Page 2 of 2

Re: 4.6 vs 4.5

Posted: Thu May 12, 2011 9:34 am
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

Re: 4.6 vs 4.5

Posted: Thu May 12, 2011 2:28 pm
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.