Little help needed with PureResize

Just starting out? Need help? Post your questions and find answers here.
karu
Enthusiast
Enthusiast
Posts: 255
Joined: Fri Jan 13, 2006 12:14 am

Little help needed with PureResize

Post 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 
karu
Enthusiast
Enthusiast
Posts: 255
Joined: Fri Jan 13, 2006 12:14 am

Re: Little help needed with PureResize

Post by karu »

PB is 5.21 and PureResize is for PB 5.1x version
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Little help needed with PureResize

Post 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.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
Kiffi
Addict
Addict
Posts: 1504
Joined: Tue Mar 02, 2004 1:20 pm
Location: Amphibios 9

Re: Little help needed with PureResize

Post 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
Hygge
Post Reply