Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
getmacro
#1
what about a flag to return the macro type as string ?

Code:
Copy      Help
str _qmtype.getmacro("" 8)

instead of using:
str.getmacrotype
Code:
Copy      Help
function [$something]
;out something
str _qmitem.getmacro("" 1)
str _qmtype.getmacro("" 3)
;out _qmitem
sel val(_qmtype)
,case 0 this="macro"
,case 1 this="function"
,case 2 this="pop-up menu"
,case 3 this="toolbar"
,case 4 this="T.S. menu"    
,case 5 this="folder"
,case 6 this="member function"
pi


Forum Jump:


Users browsing this thread: 1 Guest(s)