Page 1 of 1

#PB_Splitter_Separator

Posted: Fri Jan 26, 2018 12:26 pm
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

Re: #PB_Splitter_Separator

Posted: Tue Feb 06, 2018 10:23 pm
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...