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

All times are UTC + 1 hour




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: [Done] CreateToolBar - Xcode 9.1 (Reinstall not help)
PostPosted: Wed Nov 15, 2017 6:58 pm 
Offline
Addict
Addict
User avatar

Joined: Fri May 12, 2006 6:51 pm
Posts: 1195
Location: Germany
Bug with create Toolbar

macOS v10.13.1
Xcode v9.1
PB v5.61

Quote:
[18:57:27] Warte auf den Start des Executable...
[18:57:27] Executable-Typ: MacOSX - x64 (64bit, Unicode)
[18:57:27] Executable gestartet.
[18:57:27] [ERROR] Zeile: 12
[18:57:27] [ERROR] Customizable toolbars require unique toolbarIdentifiers. Please use initWithIdentifier: with a unique identifier.

Code:
 If OpenWindow(0, 0, 0, 150, 25, "ToolBar", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
    CreateImage(0,16,16)
    StartDrawing(ImageOutput(0))
      Box(0,0,16,16,RGB(255,255,255))
      Box(4,4,8,8,RGB(255,0,0))
    StopDrawing()
    CreateImage(1,16,16)
    StartDrawing(ImageOutput(1))
      Box(0,0,16,16,RGB(255,0,0))
      Box(4,4,8,8,RGB(255,255,255))
    StopDrawing()
    If CreateToolBar(0, WindowID(0))
      ToolBarImageButton(0,ImageID(0))
      ToolBarImageButton(1,ImageID(1))
    EndIf
    Repeat
    Until WaitWindowEvent() = #PB_Event_CloseWindow
  EndIf

_________________
My Projects OOP-BaseClass / OOP-BaseClassDispatch / Event-Designer /
PB v3.30 / v5.60 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace


Last edited by mk-soft on Sun Nov 19, 2017 11:16 am, edited 2 times in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: CreateToolBar - Xcode 9.1
PostPosted: Wed Nov 15, 2017 8:58 pm 
Offline
Addict
Addict
User avatar

Joined: Fri May 12, 2006 6:51 pm
Posts: 1195
Location: Germany
Same with:
- Xcode v9.0
- PB v5.46 Beta 1
:cry:

_________________
My Projects OOP-BaseClass / OOP-BaseClassDispatch / Event-Designer /
PB v3.30 / v5.60 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace


Top
 Profile  
Reply with quote  
 Post subject: Re: CreateToolBar - Xcode 9.1
PostPosted: Sat Nov 18, 2017 12:58 am 
Offline
Addict
Addict
User avatar

Joined: Fri May 12, 2006 6:51 pm
Posts: 1195
Location: Germany
My Xcode is crashed... Why?

_________________
My Projects OOP-BaseClass / OOP-BaseClassDispatch / Event-Designer /
PB v3.30 / v5.60 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace


Top
 Profile  
Reply with quote  
 Post subject: Re: CreateToolBar - Xcode 9.1 (Reinstall not help)
PostPosted: Sun Nov 19, 2017 6:57 pm 
Offline
Addict
Addict
User avatar

Joined: Fri May 12, 2006 6:51 pm
Posts: 1195
Location: Germany
Is a bug...
My Xcode now ok. Version 9.1

_________________
My Projects OOP-BaseClass / OOP-BaseClassDispatch / Event-Designer /
PB v3.30 / v5.60 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace


Top
 Profile  
Reply with quote  
 Post subject: Re: CreateToolBar - Xcode 9.1 (Reinstall not help)
PostPosted: Wed Dec 13, 2017 8:52 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  [ 5 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


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