Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sednax menu adding to the regular vfp menu how?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
01103690
Message ID:
01103709
Vues:
18
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform