#PB_Splitter_Separator

Found an issue in the documentation ? Please report it here !

Moderator: Documentation Editors

kmitko
New User
New User
Posts: 3
Joined: Sat Jan 13, 2018 12:13 pm
Location: Gliwice, Poland

#PB_Splitter_Separator

Post by kmitko »

Hello,

#PB_Splitter_Separator flag in SplitterGadget procedure doesn't seem to do anything on mac. I think it's a documentation bug - missing info that this flag is ignored on mac (or is it not supposed to be ignored?). See following code:

Code: Select all

If OpenWindow(0, 100,100, 200,100, "Splitters")
  ButtonGadget(1, 0, 0, 100, 30, "Button 1")
  ButtonGadget(2, 0, 0, 100, 30, "Button 2")
  SplitterGadget(3, 0, 0, 100, 100, 1, 2)
  ButtonGadget(4, 0, 0, 100, 30, "Button 3")
  ButtonGadget(5, 0, 0, 100, 30, "Button 4")
  SplitterGadget(6, 100, 0, 100, 100, 4, 5, #PB_Splitter_Separator)
  Repeat
    WaitWindowEvent()
  Until WindowEvent() = #PB_Event_CloseWindow
EndIf
Result:

Image
macOS High Sierra, PB 5.61 (x64)
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2139
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Re: #PB_Splitter_Separator

Post by Andre »

Need to be checked too, if there is something to add to the Docs, or if there is something wrong with the MacOS implementation of this command...
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
Post Reply