I need a numerical updown control that displays fractions.
If the increment is 1/16 it would display 1/16, 1/32, 3/16, 1/4...
I thought I might inherit from a NumericalUpDown control and place a label
on top of the display and put the text in that.
Sounds kind of kluged.
Anyone have a better approach?
Thank in advance 2 1641
Just Me,
Have you considered using a DomainUpDown instead, then initialize it with
the fractions expected?
Hope this helps
Jay
" Just Me" <gr****@a-znet.com> wrote in message
news:uY******** ******@tk2msftn gp13.phx.gbl... I need a numerical updown control that displays fractions.
If the increment is 1/16 it would display 1/16, 1/32, 3/16, 1/4...
I thought I might inherit from a NumericalUpDown control and place a label on top of the display and put the text in that.
Sounds kind of kluged.
Anyone have a better approach? Thank in advance
I just found it and played with it and now signed on to say it will do the
job.
Thanks a lot
"Jay B. Harlow [MVP - Outlook]" <Ja************ @msn.com> wrote in message
news:ua******** ********@TK2MSF TNGP10.phx.gbl. .. Just Me, Have you considered using a DomainUpDown instead, then initialize it with the fractions expected?
Hope this helps Jay
" Just Me" <gr****@a-znet.com> wrote in message news:uY******** ******@tk2msftn gp13.phx.gbl...I need a numerical updown control that displays fractions.
If the increment is 1/16 it would display 1/16, 1/32, 3/16, 1/4...
I thought I might inherit from a NumericalUpDown control and place a label on top of the display and put the text in that.
Sounds kind of kluged.
Anyone have a better approach? Thank in advance
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: selowitch |
last post by:
I've been searching in vain for a way to present typographically
correct fractions (not resorting to <sup> and <sub> tags) but have been
frustrated by the fact that the glyphs for one-half, one-eighth,
three-quarters, etc. do not display in the correct typeface (or even
consistently the same typeface) and seem totally resistant to attempt
to fix this through CSS:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"...
|
by: Steffen |
last post by:
Hi,
is it possible to have two fractions, which (mathematically) have the
order a/b < c/d (a,b,c,d integers), but when (correctly) converted into
floating point representation just have the opposite order?
The idea is that the two fractions are almost identical and that the
error introduced by going to floating point representation is bigger
than the exact difference, but different for the two fractions such that
it somehow turns...
|
by: Mori |
last post by:
Hi,
Can someone supply a code example of displaying a string with a fractional
part, say 5 and 7 16ths.
I cannot find an example of how to use the Encoding object (if that is what
you use).
thanks,
Mori
|
by: Qumer Mumtaz |
last post by:
h
I am using updown domain counter.I have following things in item collection of the control {3 day,2 day,1 day}.When I execute the program and press up button of domain counter nothing is happened. If I click down button again nothing is happened but after this if I click up button it works properly and down button also work correctly.Why it is not working correctly at start
Thanx in advance for help
|
by: Marty |
last post by:
Hi,
is there a double numeric updown control (arrows on both sides) or just
a single set control of updown arrows in C# ?
Regards,
Marty
| |
by: remya1000 |
last post by:
how can i select time (hours,minutes,second) in updown arrow buttons in VB.NET.
as we have current time displayed in date and time properties in our system.
in date and time properties, while we press updown arrown, that will change only hour first, and if we select the minutes and press updown arrow, minutes will get changed and if we select the seconds and press updown arrow, it will change the seconds.
if we use numericupdown tool, i...
|
by: Semajthewise |
last post by:
Here it is cleaned up a little more.
Here's what this code does. It will take 2 fractions and add, subtract, multiply, or divide them. The user enters the fractions to be calculated into two textboxes. These can be entered as a whole number and a proper fraction, whole number and an improper fraction, just a proper/inproper fraction, or just a whole number.
Form build Requirements:
using Microsoft Visual Studio.NET 2003
single form...
|
by: Albert Hopkins |
last post by:
This issue may have been referred to in
news:<mailman.1864.1196703799.13605.python-list@python.orgbut I didn't
entirely understand the explanation. Basically I have this:
6.0
nan
6.0
nan
Before I did not know what to expect, but I certainly didn't expect
|
by: Paddy |
last post by:
(From: http://paddy3118.blogspot.com/2008/09/python-fractions-issue.html)
There seems to be a problem/difference in calculating with the new
fractions module when comparing Python 26rc2 and 30rc1
I was reading the paper "Interval Arithmetic: Python Implementation
and Applications" and thought to try the first example function
f(x,y), which needs more precision than Python floating point provides
(on my Windows PC), to calculate a...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |