cancel
Showing results for 
Search instead for 
Did you mean: 

Powerbuilder Classic 12.5.2 (5629) - Does Not Save Script Editor Font Settings

Former Member
0 Kudos

I recently installed PowerBuilder Classic 12.5.2 on a new Windows 7 SP1 (64 bit) machine.

Every time I change the script editor font in the IDE via the Design > Options menu it does not save the settings after the object is closed.  The next time the script editor is opened, the font has been defaulted to System 10 point.  Opening the font section window shows the selected font listed as '??'.

Where is this information saved?  In the Registry?  In an INI file?  Can I change it externally?  System 10 point is driving me crazy!!

Thanks,

Brian

Accepted Solutions (1)

Accepted Solutions (1)

arnd_schmidt
Active Contributor
0 Kudos

My Script Editor settings are stored in the pb.ini under

%LOCALAPPDATA%\Sybase\PowerBuilder 12.5

(C:\Users\<Username>\AppData\Local\Sybase\PowerBuilder 12.5).

hth

Arnd

Answers (3)

Answers (3)

Former Member
0 Kudos

I had similar problems. A running windows service was causing the problem. After stopping it all was ok.

It may be that your problem is related to another problem with the datawindow argument dialog. It sounds strange but for it was the same solution for both problems. For me it was a device lock service but I also heared about other ones.

Former Member
0 Kudos

Wow.  What an awesome experience.  This was the first time I have used the PowerBuilder Developer Center.  I can't adequately express how grateful and shocked I am.

I have been living with the 'unable to create second argument' error as well for years.  My employer doesn't trust me enough to allow me to modify my work laptop, so I was unable to determine which service was actually causing this problem.  I was able to move my source code to an "open" machine and change my datawindow control font default and save the setting to the application.pbl file.  I was then able to copy the application.pbl back to my work laptop.  Voila.

Once again, you guys are awesome!

Thanks.

Former Member
0 Kudos

Thanks guys - that solved it.

I was looking at the %PROGRAMFILES% version of PB.INI and it was correct, however there was also a version of the PB.INI file in %LOCALAPPDATA% that had the problem.


Thanks for the help!  Now I can set my script editor font back to Wingdings! LOL!

Former Member
0 Kudos

Lines 11 & 12 of my pb.ini file:

EditorFontHeight=12

EditorFontName=Consolas

Make sure your pb.ini file is not read-only and in a location you can update.

Former Member
0 Kudos

I had this exact same problem and figured out how to modify the pb.ini file with the EditorFont settings.  However, I haven't found a work around yet for the default datawindow control fonts.  I know that you are supposed to be able to change this property using the additional properties dialog of the application object.  But the changes I make there are never saved.  Whenever I go to edit a data window, my stylebar shows @Arial Unicode MS for the default font and 0 or -1 for a default font size.  Does anyone know if it is possible to edit the PB.INI file to make a change to these properties?  Thanks for any help or suggestions.