Post Reply 
LibMenu : a simple toolbox for easy menu handling
12-11-2016, 01:20 PM
Post: #7
RE: LibMenu : a simple toolbox for easy menu handling
Version 3 :

Changelog :
- added a new entry type : tab button.
- can now change toggle flag
- removed EXPORT from methods, you must prefix method with LibMenu.

Added API :
- LibMenu.deftab(pos1,pos2,active) : each entries are now tab entries. (from pos1 to pos2)
- LibMenu.chgflag(pos) : change toggle flag.

Tab usage example :
Code:
 LibMenu.entry(1,"tab1","tstLibM.f1()");    //   define action : f1()
 LibMenu.entry(2,"tab2","tstLibM.f2()");    //   define action : f2()
 LibMenu.deftab(1,2,1);  // entries 1 and 2 are tab, active tab is 1.
   

download

.hpprgm  LibMenu.hpprgm (Size: 7.47 KB / Downloads: 100)

primer
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: LibMenu : a simple toolbox for easy menu handling - primer - 12-11-2016 01:20 PM



User(s) browsing this thread: 1 Guest(s)