Page 1 of 1

Little help needed with PureResize

Posted: Fri Jun 19, 2015 8:34 am
by karu
This code freesing if i try to resize window, why?

Thanks
Karu

Code: Select all

Procedure Open_Peaaken()
  
  If OpenWindow(0, 457, 143, 500, 743, "WAF Form editor",  #PB_Window_SystemMenu | #PB_Window_MinimizeGadget | #PB_Window_MaximizeGadget | #PB_Window_SizeGadget  | #PB_Window_TitleBar )
    ListIconGadget(1, 9, 114, 205, 640, "id", 0, #PB_ListIcon_MultiSelect | #PB_ListIcon_GridLines | #PB_ListIcon_FullRowSelect | #PB_ListIcon_AlwaysShowSelection)
    PureRESIZE_SetGadgetResize(1, #True, #True, #True, #True)
  EndIf
    
EndProcedure

Open_Peaaken()

Repeat
       
    Event = WindowEvent()

    If Event = 0
      Delay(10)
    EndIf
    
Until Event = #PB_Event_CloseWindow 

Re: Little help needed with PureResize

Posted: Fri Jun 19, 2015 8:38 am
by karu
PB is 5.21 and PureResize is for PB 5.1x version

Re: Little help needed with PureResize

Posted: Fri Jun 19, 2015 10:36 am
by IdeasVacuum
...you answered your question yourself I think - PureResize is not compatible with PB5.21 (or x64)
It is TailBitten, that's where the incompatibility comes from no doubt, but there is nothing we can do.

Re: Little help needed with PureResize

Posted: Fri Jun 19, 2015 11:31 am
by Kiffi
@karu:

there are many codes for resizing gadgets automatically.

for example this one: http://www.purebasic.fr/english/viewtop ... 94#p435994

Greetings ... Peter