Menu Checked

Menu Checked

Postby lailton.webmaster » Sun Aug 24, 2008 9:39 am

Hey there guy

well i wanna know how i need to make to return if a item menu it´s checked ??

i wanna use icon sound is activate or desactivate and i need input something that checked is return .t. or .f.

help ??
lailton.webmaster
 
Posts: 603
Joined: Sun May 04, 2008 8:44 pm

Postby James Bott » Sun Aug 24, 2008 2:58 pm

Here is an example:

// Check/Uncheck menu item.
MENUITEM oBooked PROMPT "&Booked..." ;
ACTION ( oBooked:SetCheck(!oBooked:lChecked) )

Then you can just look at oBooked:lChecked.

Regards,
James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

=]

Postby lailton.webmaster » Sun Aug 24, 2008 7:53 pm

Thanks very much !!

so simples and very utility

thanks so mych !
lailton.webmaster
 
Posts: 603
Joined: Sun May 04, 2008 8:44 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 59 guests