There is no current CloseGadgetList error ?

Just starting out? Need help? Post your questions and find answers here.
vmars316
Enthusiast
Enthusiast
Posts: 464
Joined: Fri Jun 29, 2012 12:24 am
Contact:

There is no current CloseGadgetList error ?

Post by vmars316 »

Hello ,
from this:

Code: Select all

Procedure OpenWindow_0(x = 0, y = 0, width = 300 , height = 300)
  
  ThisLinkOkLV = ListViewGadget(#PB_Any,10,10,250,120)
  ThisSiteOkLV = ListViewGadget(#PB_Any,260,10,250,120)
  CloseGadgetList()
  
EndProcedure  ; Procedure OpenWindow_0
I am getting this error
"There is no current CloseGadgetList error" .
Whether I specify CloseGadgetList() or not .
What am I doing wrong ?
Thanks
vmars.us Win11 x64 , Martin Guitar 000-16 (1995)
"All things in moderation , except for love and forgiveness."
User avatar
mk-soft
Always Here
Always Here
Posts: 5333
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: There is no current CloseGadgetList error ?

Post by mk-soft »

Only for this Gadgets

See PB-Help
Remarks

This is especially useful for the following gadgets:

- CanvasGadget()
- ContainerGadget()
- PanelGadget()
- ScrollAreaGadget()
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User_Russian
Addict
Addict
Posts: 1443
Joined: Wed Nov 12, 2008 5:01 pm
Location: Russia

Re: There is no current CloseGadgetList error ?

Post by User_Russian »

vmars316
Enthusiast
Enthusiast
Posts: 464
Joined: Fri Jun 29, 2012 12:24 am
Contact:

Re: There is no current CloseGadgetList error ?

Post by vmars316 »

Thanks Guys ,
My Mistake was even dummer than that :

Code: Select all

Procedure OpenWindow_0(x = 0, y = 0, width = 580 , height = 580)
I forgot this :
  Window_0 = OpenWindow(#PB_Any, 0, 0, width, height, "Load-Files-Into-LV", #PB_Window_SystemMenu | #PB_Window_TitleBar)
  
 ContainerGadget(#PB_Any, 8, 8, 572, 572, #PB_Container_Raised)
  ThisLinkOkLV = ListViewGadget(#PB_Any,10,10,250,120)
  ThisSiteOkLV = ListViewGadget(#PB_Any,280,10,250,120)
 CloseGadgetList()
Ugh!
vmars.us Win11 x64 , Martin Guitar 000-16 (1995)
"All things in moderation , except for love and forgiveness."
Post Reply