Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sednax menu adding to the regular vfp menu how?
Message
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
01103690
Message ID:
01103709
Views:
17
>Hi All,
>
>I have downloaded the Sednax menuproject. When creating a menu I want to "add" it to (or showing it next to) the existing standard vfp menu, how to do this?
>
>Thanks beforehand.
>
>Zakaria al Azhar

Did you see all examples included in project?
I simply do (this is a sample, no error handling in it:
_SCREEN.NewObject([Menu],[SFMenu],[SfMenu.Vcx],,[_screen.Menu])
WITH _SCREEN.Menu
     .AddPad([SfPad],[SfMenu.Vcx], [Pad1])
     .AddPad([SFPad],[SfMenu.Vcx], [Pad2])
     .AddPad([SFPad],[SfMenu.Vcx], [Pad3])
      WITH .Pad1
           .AddBar([SFBar], [SFMenu.vcx], [Bar1])
           .AddSeparatorBar()
           .AddBar([SFBar], [SFMenu.vcx], [Bar2])
           .AddBar([SFBar], [SFMenu.vcx], [Bar3])
           .Bar1.cCaption = [Something]
           .Bar2.cCaption = [Something else]
           .Bar3.cCaption = [more somethings :-)]
      ENDWITH
     *** etc.
     .Show()
ENDWITH
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform