Delphi Spin Edit With Real Life

 
Delphi Spin Edit

The problem is that I want to choose the number in the spin edit and when press a button the value will be displayed in a memo or a label. This is the code i am currently using ________________________________- begin label1.caption:= SpinEdit1.value; end; or begin memo1.text:= SpinEdit1.value; end; ________________________________- the error I get is Incompatible types String and LongInt could anyone possibly correct the code for me of send some help Thanks -- ________________________________; __; (_ _ _._ _ _._ _ _ __) (_ (/_ _ (_) (/__>;________________________________; shane.@globalnet.co.uk ' ______________________ '.

Delphi Spin Edit With Real Life

Free download spin edit delphi Files at Software Informer. As a passionate music collector, my guess is that conversion from an old Vinyl to a digital form, like MP3. >Chair, Paradox/Delphi SIG, Cincinnati PC Users Group. Other Threads. SpinEdit change with invalid EditValue? SpinEdit Control For Real Numbers? Cara Di Ganool.tv.

Quote >This is a multi-part message in MIME format. >------=_NextPart_000_000B_01BEDDAE.2BB9D6C0 >Content-Type: text/plain; >charset='iso-8859-1' >Content-Transfer-Encoding: quoted-printable >The problem is that I want to choose the number in the spin edit and = >when press a button the value will be displayed in a memo or a label. >this is the code i am currently using >________________________________- =20 >begin >label1.caption:=3D SpinEdit1.value; >end; >or >begin >memo1.text:=3D SpinEdit1.value; >end; >________________________________- >the error I get is=20 >Incompatible types String and LongInt >could anyone possibly correct the code for me of send some help >Thanks >--=20 Ok begin label1.caption:=inttostr(3DSpinEdit1.value); end; or begin memo1.text:=inttostr(3DSpinEdit1.value); end; Sent via Deja.com Share what you know. Learn what you don't. The best way to understand error is to RTFM (Read The F. In this example: read ERROR MESSAGE. Incompatible types means incompatible types.:)) so: label1.Caption is String.

SpinEdit1.value is. What do you think? It's INTEGER.

Alibaba Prospectus Pdf. If you want move Integer into string you will recive ERROR. Thats; right.

Real Estate Wealth Autos. Delphi names spin-off firms Aptiv, Delphi Technologies. (Reporting By Joe White; Editing by Susan Thomas). The problem is that the spin edit is showing the decimal point regardless. Which is not a solution we can incorporate in a real life. DELPHI C++BUILDER.

You can read HELP (from DELPHI) how to convert varibles - different types. Take solution: use label1.Caption:=InttoStr(SpinEdit.Value). Think before write!;-)) Bye Lukasz Zeligowski POLAND. Quote >Shane Jones wrote: >The problem is that I want to choose the number in the spin edit and >when press a button the value will be displayed in a memo or a label.