Known Limits in PB 3.94 Mac

Mac OSX specific forum
SEO
Enthusiast
Enthusiast
Posts: 178
Joined: Fri Dec 09, 2005 11:42 pm
Location: Sweden
Contact:

Known Limits in PB 3.94 Mac

Post by SEO »

Known Limits PB 3.94 Mac
Is there any 'Known Limits' in PB 3.94 Mac? An Public list or something?
It is some frustating for an 'newbie' trying to write some code that not works. It is an 'limit' in PB or what is wrong in my code?

Yesterday I try to use and change fonts, but I get it not to works. Is this an 'limit' in PB Mac? I also try to use 'RunProgram() ...

If you know any 'limits' please log it here.....

Regards,
SEO
cologneskater
User
User
Posts: 22
Joined: Fri Jul 08, 2005 7:06 pm
Location: Cologne, Germany
Contact:

Post by cologneskater »

I think there is no summary of differences for the os x version. But look at this thread, there are some informations during the beta test:

viewtopic.php?t=15832
Fred
Administrator
Administrator
Posts: 18220
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

You're right, it should have a list for such limitations. For what i recall, here are some (i will update this list each time a new issue is found):

- Printer, Help, Systray, Joystick, Palette libraries not supported
- WndowOutput(), SetGadgetFont() doesn't work
- All 3D Engine commands
SEO
Enthusiast
Enthusiast
Posts: 178
Joined: Fri Dec 09, 2005 11:42 pm
Location: Sweden
Contact:

Post by SEO »

Ok.. Thanks!!
Now just working and testing more than one Window and menus...
//SEO
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

In the manual at the bottom of each page the supported systems should be listed.
SEO
Enthusiast
Enthusiast
Posts: 178
Joined: Fri Dec 09, 2005 11:42 pm
Location: Sweden
Contact:

Post by SEO »

Yes I see, the Help itm PureBasic-Font says it valid to Mac OS X... but I can't get it to work... LoadFont

Lucida14 = LoadFont(#PB_Any, "Verdana",14,#PB_Font_Bold)
This always return -1 And some others fonts I try to load..

//SEO
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

SEO wrote:Yes I see, the Help itm PureBasic-Font says it valid to Mac OS X... but I can't get it to work... LoadFont

Lucida14 = LoadFont(#PB_Any, "Verdana",14,#PB_Font_Bold)
This always return -1 And some others fonts I try to load..

//SEO
If you HAVE Verdana bold then it should work if not there's a bug report forum.
SEO
Enthusiast
Enthusiast
Posts: 178
Joined: Fri Dec 09, 2005 11:42 pm
Location: Sweden
Contact:

Post by SEO »

Fonts...On OS X
Yes, the problem is that an 'newbie' working with an 3.x.x release not think on bugs, only what have I doing wrong... So it is easy to be confused when the Help says it should be supported...

(Verdana is standard on OS X)
Regards,
SEO
Fred
Administrator
Administrator
Posts: 18220
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

I will take a look as well, keep on going !
SEO
Enthusiast
Enthusiast
Posts: 178
Joined: Fri Dec 09, 2005 11:42 pm
Location: Sweden
Contact:

Post by SEO »

Yes, I test, test and then I test ....
//SEO
SEO
Enthusiast
Enthusiast
Posts: 178
Joined: Fri Dec 09, 2005 11:42 pm
Location: Sweden
Contact:

Post by SEO »

Text Encoding IDE PB 3.94 Mac

This code is NOT Working in the IDE

Code: Select all

a$ = "Hello! PB 3.94 Mac"
b$ = "Nils Åkesson"
c$ = "Nils Östensson"
d$ = "Östen Persson"

Debug a$
Debug b$
Debug c$
Debug d$
File.pb Example

Code: Select all

If CreateFile(0, "./PBTest.pb")
  WriteStringN("Per Östensson")
  WriteString("Now it's on ")
  WriteString("the same line.")
Result: NOT correct display in the MessageRequester!
But the test file is Saved in Text Encoding MacRoman...
The program files Myapp.pb is also Saved in MacRoman Encoding So it looks like the Debugger and the MessageRequester NOT handle MacRoman and want some other Encodings..

//Regards,
SEO
SEO
Enthusiast
Enthusiast
Posts: 178
Joined: Fri Dec 09, 2005 11:42 pm
Location: Sweden
Contact:

Post by SEO »

IDE BUG

This pictures shown some minor bugs in the ide.
This bugs is created when I resize an window.
Perhaps it could be fixed using 'Live Resize' and the window set to 'Composite'.

http://www.xhtmlsoft.com/pb/images/idebug1.png
http://www.xhtmlsoft.com/pb/images/idebug2.png

//SEO

PS. I think Mac OS X have more posts than Amiga OS :!:
User avatar
michel51
Enthusiast
Enthusiast
Posts: 290
Joined: Mon Nov 21, 2005 10:21 pm
Location: Germany

Post by michel51 »

I confirm the encoding problem with german special characters like "ä, ö, ü, ß".
I've tested the snippets and I could see, what happened :(

A list with non supported functions on MAC is great. So programming would be less nerveracking :wink:

michel51
michel51

Mac OS X Snow Leopard (10.6.8 ) Intel
PureBasic V 5.21(x64), V 5.22beta
SEO
Enthusiast
Enthusiast
Posts: 178
Joined: Fri Dec 09, 2005 11:42 pm
Location: Sweden
Contact:

Post by SEO »

Menu Problem
I have done an new example on the menu problems. One main window and one Tool window with the same menu created. This example shows better that the menu is not changed when I open the Tool window. BUT when I close the Tool Window, then the Tool Windows menu is used!! And then the Menu not work, because the menu not exists...

http://www.xhtmlsoft.com/pb/downloads/MenuTest.zip

//SEO
SEO
Enthusiast
Enthusiast
Posts: 178
Joined: Fri Dec 09, 2005 11:42 pm
Location: Sweden
Contact:

Post by SEO »

Acivate Window Event
It looks that the Activate Event NOT fire ....
I can only activate my main window one time, when i open the second window then I can't get the Activate Window event to fire in the windows...

I also have some confusing behaivor, when I have the two windows opened and click on the 'Close Widget' in the main window, the second window is closed!!

Is there some more experienced PB developer that could check the code, and perhaps give some tip, how to get it to work??

Code: Select all

Case #PB_Event_ActivateWindow 
      Debug "Main Window Activate"
http://www.xhtmlsoft.com/pb/downloads/ActivateEvent.zip

//SEO
Post Reply