• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Customization NSRulerView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Customization NSRulerView


  • Subject: Customization NSRulerView
  • From: Gokul Hegde <email@hidden>
  • Date: Sat, 1 Jun 2002 14:54:43 +0530

Hi everyone

I need to create a customized NSRulerView, which needs to display a scale
having values other than floating numbers.

E.g. The usual 1, 2, 3, ... get replaced with A, B, C, ... and the
intermediates such as 1.25, 1.5, 1.75,... be represented as a, b, c,...

The method
"registerUnitWithName:abbreviation:unitToPointsConversionFactor:stepUpCycle:
stepDownCycle:" of NSRulerView class doesn't seem to support anything else
than floating point numbers.

Is this possible in Cocoa (Obc-C)? If so how?

Pl. help.

Any other ideas to achive this are also welcome. :-)

With regards

Gokul


--------------------------------------------------------------
Robosoft Technologies, Mangalore, India
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: declaring new apple script commands
  • Next by Date: Re: Is there a Cocoa or Unix way to find all applications?
  • Previous by thread: Re: isa
  • Next by thread: Re: Is there a Cocoa or Unix way to find all applications?
  • Index(es):
    • Date
    • Thread