Chris, Here is a Code section from one of my menus that calls a routine (SetSound) that places/removes a check mark on my main application menu.
[tt]
DEFINE POPUP [red]mmuser[/red] MARGIN RELATIVE SHADOW COLOR SCHEME 4
DEFINE BAR 1 OF mmuser PROMPT "\<User Maintenance ..."
DEFINE BAR 2 OF mmuser PROMPT "Toggle \<Phone Appointment System On/Off"
DEFINE BAR 3 OF mmuser PROMPT "Toggle \<Email System On/Off"
DEFINE BAR [red]4[/red] OF [red]mmuser[/red] PROMPT "Toggle \<Sound On/Off"
DEFINE BAR 5 OF mmuser PROMPT "Toggle \<Clock On/Off"
DEFINE BAR 6 OF mmuser PROMPT "Toggle Status \<Bar On/Off"
DEFINE BAR 7 OF mmuser PROMPT "Change Wall\<Paper ...."
DEFINE BAR 8 OF mmuser PROMPT "Change Default Sound File"
ON SELECTION BAR 1 OF mmuser do USEREDIT
ON SELECTION BAR 2 OF mmuser do Pa_OnOff
ON SELECTION BAR 3 OF mmuser do Em_OnOff
ON SELECTION BAR [red]4[/red] OF [red]mmuser[/red] [COLOR="#0000FF"]do SetSound[/color] with [red]4 , "mmuser"[/red]
ON SELECTION BAR 5 OF mmuser do SetClock with 0 , scols()-14 , 5 , "mmuser"
ON SELECTION BAR 6 OF mmuser do SetBar with 6 , "mmuser"
ON SELECTION BAR 7 OF mmuser do SetWall with .f.
ON SELECTION BAR 8 OF mmuser do SetWave with .f.
[COLOR="#0000FF"]function SetSound[/color]
parameters pnBar , pcMenu
if dbfopen("NETWORK" , "NETWORK" , "USER_ID" , ucNetName)
ulSound = iif(ulSound , .F. , .T.)
replace NETWORK.SOUND with ulSound
set mark of bar pnBar of (pcMenu) to NETWORK.SOUND
endif
return found()
[/tt] [sig]<p>David W. Grewe<br><a href=mailto

ave@internationalbid.net>Dave@internationalbid.net</a><br>ICQ VFP ActiveList #46145644[/sig]