It is currently Wed Nov 13, 2019 11:22 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: [PB 4.X] ExplorerListGadget() #PB_Explorer_SmallIcon Problem
PostPosted: Fri Jul 23, 2010 3:34 am 
Offline
Addict
Addict
User avatar

Joined: Mon Sep 15, 2003 5:55 am
Posts: 1340
when changing display mode to #PB_Explorer_List and then to #PB_Explorer_SmallIcon, the item positions get messed up. it seems like it depends on the gadget size, whether or not this bug appears. pb bug or ms bug? if ms bug, any chance to fix it anyway? :)

Code:
If OpenWindow(0, 0, 0, 510, 410, "Test", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
  ExplorerListGadget(0, 5, 5, 500, 400, "")
 
  SetGadgetAttribute(0, #PB_Explorer_DisplayMode, #PB_Explorer_List)
  SetGadgetAttribute(0, #PB_Explorer_DisplayMode, #PB_Explorer_SmallIcon)
 
  Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf : End

Image

c ya,
nco2k

_________________
If OSVersion() = #PB_OS_Windows_ME : End : EndIf


Top
 Profile  
Reply with quote  
 Post subject: Re: [PB 4.X] ExplorerListGadget() #PB_Explorer_SmallIcon Pro
PostPosted: Fri Jul 23, 2010 9:29 am 
Offline
Addict
Addict

Joined: Sun Sep 07, 2008 12:45 pm
Posts: 4407
Location: Germany
Hi nco2k,

It is easier to understand what you mean, if you add a
Code:
delay(2000)
between your SetGadgetAttribute() commands.

But:
If you create the gadget it is in #PB_Explorer_Report mode.
If you change this, than you want something different, or not?
So why you expect that it doesen't change the appearance.

Bernd


Top
 Profile  
Reply with quote  
 Post subject: Re: [PB 4.X] ExplorerListGadget() #PB_Explorer_SmallIcon Pro
PostPosted: Mon Jul 29, 2013 4:41 pm 
Offline
Administrator
Administrator

Joined: Fri May 17, 2002 4:39 pm
Posts: 13623
Location: France
Does it still happen ? I don't see any problem here


Top
 Profile  
Reply with quote  
 Post subject: Re: [PB 4.X] ExplorerListGadget() #PB_Explorer_SmallIcon Pro
PostPosted: Tue Jul 30, 2013 6:00 am 
Offline
Addict
Addict
User avatar

Joined: Mon Sep 15, 2003 5:55 am
Posts: 1340
yes and its pretty hard to reproduce. it somehow depends on the size of the gadget and the number of available items or item name lengths. try to add/remove some usb storage devices. maybe you will get lucky reproducing it.

Image

c ya,
nco2k

_________________
If OSVersion() = #PB_OS_Windows_ME : End : EndIf


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye