Re: A 2D Graph tool written in Dolphin Smalltalk.




"IanB" <news@xxxxxxxxxxxx> wrote in message
news:9eg4q4h1n6186tki5d1euu2u2h866739gt@xxxxxxxxxxxxxxx
Randy,

Please let me know if you figure out how to put the check marks on the
toggled context menu items.

You do it in the normal #queryCommand: method for the presenter.

As well as using #isEnabled to enable/disable a menu option you can
use #isChecked: to add/remove the tick from the option.


Ian
--
The From address is valid

Thanks Ian,
With your help above, I was able to add the check marks to my GraphPresenter
context menu toggle items. Thats cool man!
Peter,
I have uploaded an even newer version of GraphView6a.zip to my homepage.
This
version contains the 'force to Integer' corrections you suggested in
GraphView>onMouseMoved. Hopefully no one else will be bothered by this
problem.

It also contains the check mark toggle item addition (as suggested by Ian
above) to my GraphPresenter context menu.

Please check/test my new version upload to see if it resolves the walkback
problem
you experienced.


Thanks again Ian,

~Randy


.



Relevant Pages

  • Re: VB Add-In Question
    ... > I also don't have a 'toggle' choice from my context ... > menu in the code window. ... What is just above the Object Browser in that menu? ...
    (microsoft.public.vb.general.discussion)
  • toggle
    ... (The context is that the guy addressed can't hear the ... command because he's listening to loud music: ... I assume that it's a use of the meaning "release by a toggle ...
    (alt.usage.english)
  • Re: Microsoft CDO for Windows 2000
    ... > the message pane and the context menu should reveal the Word Wrap ... > bit easy to toggle. ...
    (microsoft.public.vb.general.discussion)
  • Re: VB Add-In Question
    ... > You can also drag and drop them (hold down the Ctrl key to copy) from the ... > context menu's Toggle to a Toolbar. ...
    (microsoft.public.vb.general.discussion)
  • Re: Rapid Application Decline?
    ... Paul's original statement was: ... upload to share? ... IMO, the plethora of stuff on download.com doesn't apply to the context ...
    (borland.public.delphi.non-technical)

Loading