Hi:
I have defined a sub-Menu like this :
DEFINE SUB-MENU m_Auswahl
MENU-ITEM m_Auswahl_Glas LABEL "Glasumsatz"
TOGGLE-BOX
MENU-ITEM m_Auswahl_Euro LABEL "Umsatz in EURO"
TOGGLE-BOX.
One of the two Triggers looks like this :
&Scoped-define SELF-NAME m_Auswahl_Glas
&ANALYZE-SUSPEND _UIB-CODE-BLOCK _CONTROL m_Auswahl_Glas C-Win
ON VALUE-CHANGED OF MENU-ITEM m_Auswahl_Glas DO:
if m__Auswahl_Glas = yes then
m_Auswahl_Glas = no.
assign Sel = 1.
END.
But it doesnt work. Progress tells me that m_auswahl_Glas is unkown.
When i use the Object definition : Toggle instead of m_Auswahl_Glas the same error message comes: Toggle is unkown.
Where in hell is my silly mistake.
Thanxs for your help !!!!
Make
I have defined a sub-Menu like this :
DEFINE SUB-MENU m_Auswahl
MENU-ITEM m_Auswahl_Glas LABEL "Glasumsatz"
TOGGLE-BOX
MENU-ITEM m_Auswahl_Euro LABEL "Umsatz in EURO"
TOGGLE-BOX.
One of the two Triggers looks like this :
&Scoped-define SELF-NAME m_Auswahl_Glas
&ANALYZE-SUSPEND _UIB-CODE-BLOCK _CONTROL m_Auswahl_Glas C-Win
ON VALUE-CHANGED OF MENU-ITEM m_Auswahl_Glas DO:
if m__Auswahl_Glas = yes then
m_Auswahl_Glas = no.
assign Sel = 1.
END.
But it doesnt work. Progress tells me that m_auswahl_Glas is unkown.
When i use the Object definition : Toggle instead of m_Auswahl_Glas the same error message comes: Toggle is unkown.
Where in hell is my silly mistake.
Thanxs for your help !!!!
Make