Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Not adding form´s captions to Window pad
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00124196
Message ID:
00124286
Views:
20
>Hi,
>
>I think that I asked this before, but I lost the changes when I upgraded the framewrok. My Window Pad (in Portuguese) is "Janela". That´s why the framework is not adding the caption of my forms to the window pad. What can I do to fix it ?
>
>Regards,

Well, the following code is in cBaseForm::init()...

*-- Add the form's caption to the Window menu pulldown
IF TYPE("goApp.oMenu.oWindowPad.oPopup") == "O" AND This.lAddCaptionToWindowPad
goApp.oMenu.oWindowPad.oPopup.Add("oWindowPad", "CWindowBar", This.Caption, This.Name)
ENDIF

I think you will have to change it... what you can do is add the init to your applications subclasses of the framwork...

dodefault()
*-- Add the form's caption to the Window menu pulldown
IF TYPE("goApp.oMenu.oJanelaPad.oPopup") == "O" AND This.lAddCaptionToWindowPad
goApp.oMenu.oJanelaPad.oPopup.Add("oJAnelaPad", "CWindowBar", This.Caption, This.Name)
ENDIF

BOb
Previous
Reply
Map
View

Click here to load this message in the networking platform