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


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

Re: Vspinner

From JohnMartens <martens@tennishulp.info>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Vspinner
Date 2013-11-30 17:47 +0100
Organization A noiseless patient Spider
Message-ID <l7d4qi$oki$1@dont-email.me> (permalink)
References <afd22$529a016f$541cb720$2988@cache60.multikabel.net>

Show all headers | View raw


I'm using the vs in combi with a ft control like this:
SELF:oDCftHeight:CurrentText := Str(SELF:oDCvsHeight:Value,2,0)+' mm'

This is the same as representing it as a decimal like
SELF:oDCftHeight:CurrentText := Str(SELF:oDCvsHeight:Value/10,4,1)+' cm'

John


Jack Konings schreef op 30-11-2013 16:17:
> Hi all,
>
> I'm trying to use a vertical spinner control with a SLE buddy to
> in/decrement its content by a decimal value (like 0.5).
> As far as i can see the in/decrement is fixed to integer values.
>
> I found a sample for larger values (10) but not for decimals. Does
> anybody have an idea on how to accomplish this?
>
> TIA,
>
> Jack

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


Thread

Vspinner "Jack Konings" <Gordon_remove_this_.Freeman@Live_dot.nl> - 2013-11-30 16:17 +0100
  Re: Vspinner "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2013-11-30 16:39 +0100
  Re: Vspinner "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2013-11-30 16:44 +0100
    Re: Vspinner "Jack Konings" <Gordon_remove_this_.Freeman@Live_dot.nl> - 2013-11-30 18:34 +0100
      Re: Vspinner "Jack Konings" <Gordon_remove_this_.Freeman@Live_dot.nl> - 2013-12-01 14:15 +0100
  Re: Vspinner Karl Faller <mail_withoutthat_@_drei-f_andthat_.de> - 2013-11-30 17:40 +0100
  Re: Vspinner JohnMartens <martens@tennishulp.info> - 2013-11-30 17:47 +0100

csiph-web