Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #13137

Re: TextBox with picture clause

From Johan Nel <johan.nel@xsinet.co.za>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: TextBox with picture clause
Date 2020-11-11 12:15 +0200
Organization A noiseless patient Spider
Message-ID <rogdjm$sr4$1@dont-email.me> (permalink)
References <3bf32f0c-c8e1-47d4-9c66-c86a7d9963fcn@googlegroups.com> <roed43$h6i$1@dont-email.me> <4690eca1-66ea-45cf-bc7f-c85d1298c016n@googlegroups.com>

Show all headers | View raw


Hi Matthias,

Yes I realise there are no "imperial" controls available. Luckily in 
South Africa we use metric...

The way to go about would be to create a user control with separate 
"input" controls and have the apostrophes displayed as Text on the user 
control.

Maybe take this to the X# forums, I have done some user controls with X# 
so should not be too difficult to do.

PS: Love your terms, harvester, feller-buncher, etc.  Did you know I am 
a forestry graduate by profession actually... :-) Programming was a 
hobby that became work...

On 2020/11/11 09:17, Mathias wrote:
> HI Johan,
>
> I've got conversion routines that converts a measurement in the metric system to an imperial string and the other way around. That part is the easy part. The problem is handling the input in an elegant way. I would like the apostrophies to be fixed and the fraction (like 1/8, 1/16, 1/4) to only allow the fractions used in imperial measurements. It's surreal that there is no third party control to buy that does this (at least I have not found any).. It should have been done ages ago...
>
> The software is for the computer in harvesters, feller-bunchers, forwarders and skidders in the logging industry. For some reason they love their imperial format...
>
> /Mathias
>
> tisdag 10 november 2020 kl. 16:54:45 UTC+1 skrev Johan Nel:
>> You might want to look at this:
>>
>> https://stackoverflow.com/questions/6157865/c-sharp-function-to-convert-text-input-of-feet-inches-meters-centimeters-millime
>> On 2020/11/10 17:28, Mathias wrote:
>>> Hi all,
>>> long time, no see.
>>>
>>> Has anyone done this in .net yet?
>>> I need to handle editing imperial numbers with fractions with some kind of picture support (for the apostrophes and fractions) in a .net application. Has anyone tried anything like this before?
>>>
>>> /Mathias Håkansson, Sweden
>> -- 
>> *Johan Nel*
>> FOX member : Friend(s) of XSharp
>> X# Website : https://xsharp.info
>> Boshof, South Africa
-- 
*Johan Nel*
FOX member : Friend(s) of XSharp
X# Website : https://xsharp.info
George, South Africa

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

TextBox with picture clause Mathias <mathias.hakansson.1969@gmail.com> - 2020-11-10 07:28 -0800
  Re: TextBox with picture clause Johan Nel <johan.nel@xsinet.co.za> - 2020-11-10 17:54 +0200
    Re: TextBox with picture clause Mathias <mathias.hakansson.1969@gmail.com> - 2020-11-10 23:17 -0800
      Re: TextBox with picture clause Johan Nel <johan.nel@xsinet.co.za> - 2020-11-11 12:15 +0200
        Re: TextBox with picture clause Mathias <mathias.hakansson.1969@gmail.com> - 2020-11-11 02:54 -0800
      Re: TextBox with picture clause dlzc <dlzc1@cox.net> - 2020-11-11 06:05 -0800
        Re: TextBox with picture clause Mathias <mathias.hakansson.1969@gmail.com> - 2020-11-24 23:19 -0800
          Re: TextBox with picture clause "Wolfgang Riedmann" <wriedmann@gmail.com> - 2020-11-25 08:50 +0100

csiph-web