[futurebasic] Re: [FB] Panther and FB3 menu problem

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : October 2003 : Group Archive : Group : All Groups

From: Robert Purves <robert.purves@...>
Date: Sun, 26 Oct 2003 10:33:11 +1300
David Parrish wrote:

> I have a PG generated FB3 program (Not Appearance).  I tried it out 
> under the release of Panther and all the Menus are sized to small. 
> Both in width and length. Hierarchical menus are really messed up. For 
> example I have a menu Locations -> United States -> California. The 
> menu bar is fine, United States is to narrow and the hierarchical list 
> of all the states lists only 2 and is so narrow it looks like Al...ka.
> Any ideas on how to work around this? Is this something that can be 
> fixed in my code or is it a compiler issue?

The separator items in a PG MENU resource are specified in a 
non-standard way that was legal until Panther. ResEdit can reliably fix 
the problem, at least for menus in the menu bar. I haven't looked at 
hierarchical menus. Follow these steps to convert the separators to 
standard form:

open the project's .rsrc file in ResEdit
double-click the MENU resource
for each menu
  double-click it
  for each separator item in menu
   click it
   click the Text radio button
   click the separator line radio button
  next separator item
next menu
save the .rsrc file


Robert P.