Hi Andrew

Thanks for the reply.  The first approach gives no indication (when the 
item is "unmarked") that it is a "toggle item" - which was the point I 
was trying to make.

In fact the second approach works fine and is what I have implemented 
(with an empty checkbox picture and a checked checkbox picture).  
Interestingly I did not find it necessary ro recreate the ON SELECTION 
BAR - it worked just find without (the item in question uses a procedure 
in the menu itself) - although the (RE)DEFINE statements are in a form 
method.

Cheers

Andrew MacNeill wrote:
> You could do this with the Mark command.
>
> SET MARK OF xxx TO .T.
> SET MARK OF xxx TO .F.
>
> The other approach would be to recreate the bar each time.
>
> DEFINE BAR 1 OF file PROMPT "Open" ;
>     PICTURE "graphics\bitmaps\offctlbr\small\color\new.bmp"
>
> DEFINE BAR 1 OF file PROMPT "Open" ;
>     PICTURE "graphics\bitmaps\offctlbr\small\color\open.bmp"
>
> Of course with this approach, you need to recreate the ON SELECT ION BAR 
> statement each time.
>   



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to