HỌC VIỆN ĐÀO TẠO TRỰC TUYẾN-TẬN TÂM-CHẤT LƯỢNG

Pages

▼

Thứ Sáu, 11 tháng 4, 2014

Tạo menu thật dễ trong Visual Foxpro bằng ContextMenu ActiveX Control


Videos:
Placing ContextMenu control on VFP form
Menu Designer
Adding context menu to PRG-based form
https://sites.google.com/site/softviet68/soft/ContextMenuCtl_Help.zipFile hướng dẫn tại đây
Giới thiệu
Mẫu code sử dụng ContextMenu




The menu structure is tree-shaped. All items can be accessed either by position or by key.



Menu's visual style can be modified.


A single command

STRTOFILE( oMenu.ToXML(), "menu.xml" )
sends a menu to XML file.



The opposite is also true: a menu can be loaded from an XML file.
oMenu.FromXML( FILETOSTR("anothermenu.xml") )
Học viện đào tạo trực tuyến at 13:34
Chia sẻ
‹
›
Trang chủ
Xem phiên bản web
Được tạo bởi Blogger.