It is currently Sat Apr 21, 2018 11:55 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: [Done] 5.60 Scrollbar on dialog always vertical
PostPosted: Mon Mar 06, 2017 7:53 pm 
Offline
Enthusiast
Enthusiast

Joined: Thu Dec 29, 2011 5:03 pm
Posts: 194
Location: UK
It should be horizontal if #PB_ScrollBar_Vertical is not specified.

Code:
#XmlEncoding = #PB_UTF8

#Dialog = 0
#Xml = 0

XML$ = "<window id='#PB_Any' name='test' text='test' minwidth='auto' minheight='auto' flags='#PB_Window_ScreenCentered | #PB_Window_SystemMenu | #PB_Window_SizeGadget'>" +
       "  <hbox>" +       
       "    <scrollbar id='0' width='300' height='18' flags='0'/>" +
       "    <scrollbar id='1' width='18' height='300' flags='#PB_Scrollbar_Vertical'/>" +
       "  </hbox>" +
       "</window>"

If CatchXML(#Xml, @XML$, StringByteLength(XML$), 0, #XmlEncoding) And XMLStatus(#Xml) = #PB_XML_Success
 
  If CreateDialog(#Dialog) And OpenXMLDialog(#Dialog, #Xml, "test")
   
    Repeat
      Event = WaitWindowEvent()
    Until Event = #PB_Event_CloseWindow
   
  Else 
    Debug "Dialog error: " + DialogError(#Dialog)
  EndIf
Else
  Debug "XML error: " + XMLError(#Xml) + " (Line: " + XMLErrorLine(#Xml) + ")"
EndIf


Top
 Profile  
Reply with quote  
 Post subject: Re: [5.60] Scrollbar on dialog always vertical
PostPosted: Tue Nov 21, 2017 1:19 am 
Offline
Enthusiast
Enthusiast

Joined: Thu Dec 29, 2011 5:03 pm
Posts: 194
Location: UK
Still happens in 5.61.


Top
 Profile  
Reply with quote  
 Post subject: Re: [5.60] Scrollbar on dialog always vertical
PostPosted: Sun Jan 07, 2018 2:13 pm 
Offline
Administrator
Administrator

Joined: Fri May 17, 2002 4:39 pm
Posts: 13252
Location: France
Fixed.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 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