I compiled an old program of mine with PB 6.21 x64.
The IPAddressGadget does not work as expected any more. You can only enter 2-digit IPs, not 3-digit,
when you try to enter a third digit like in 127, you just get a "bing".
I then found out that it depends on the width of the gadget. If it is too narrow, the bug happens.
It worked before with the same widget size, but it was some 5.x version of PB.
This is straight from the IPAddressGadget help, I just changed the width to the 110 pixels (in my old program is was even 100 pixels).
Code: Select all
If OpenWindow(0, 0, 0, 180, 50, "IPAddressGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
IPAddressGadget(0, 10, 15, 110, 20)
SetGadgetState(0, MakeIPAddress(127, 0, 0, 1))
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf




