[futurebasic] Re: [FB] Hierarchical menus from a resource file

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 2010 : Group Archive : Group : All Groups

From: Brian S <fblistserve@...>
Date: Fri, 5 Nov 2010 15:43:07 -0700
On Nov 5, 2010, at 11:31 AM, Bernie wrote:

> 
> Steve wrote:
> 
>> In FB4, I used the statement below to create a hierarchical menu from a resource file.
>> 
>> This syntax no longer works.   The resource is included in the project and I have access to it and can create menu buttons from a menu resource file without any issue.
>> 
>> _mColor = 1104 ' resource of menu
>> 
>> Menu _mColor,_resSubMenu,_enable
>> 
>> fn MakeHierMenu( _mDocument, 2, "Color", _mColor ) 
>> 
>> Is there a fix for this besides using a NIB based menu [ which I plan on doing but there are a lot of menus to redo ] ?
> 
> 
> Resource menus are not supported in FB5/FBtoC.
> 

Yep, one of those items that is documented in FBtoC keywords but not in FB5 Help.

Brian S