Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Questiom from a newbie (Real Studio getting started Mailinglist archive)

Back to the thread list
Previous thread: Dynamic Generation of Controls
Next thread: Download Manager in WebKit


RB Database   -   tom.russell transport.alstom.com
  Questiom from a newbie   -   Gerrit Kruijer
   RE: Questiom from a newbie   -   RBNUBE
   Re: Desperate printing windows!   -   CV

Questiom from a newbie
Date: 04.02.05 09:21 (Fri, 4 Feb 2005 09:21:14 +0100)
From: Gerrit Kruijer
Hi Listers,
I an new to Realbasic and have never programmed before.

Just to make sure i am doing it the good way.

I have created a form with numeric input.
I therefore created editfields.
In the code i use something like :

Dim Test As Integer

To pass the value to Test i use something like
Test = Str(Editfield1.Text)

Or is there an easier way to do this?

Kind regards,
Gerrit

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

RE: Questiom from a newbie
Date: 04.02.05 09:56 (Fri, 4 Feb 2005 03:56:37 -0500)
From: RBNUBE
Anything entered into an editfield will be considered text until it's
converted to a number. You can use Val instead of str. Str will
convert a number to a string.

I doubt that there is an easier way.

Dim Test As Integer
Test = val(Editfield1.Text)


-----Original Message-----
From: <email address removed>
[mailto:<email address removed>] On Behalf Of
Gerrit Kruijer
Sent: Friday, February 04, 2005 3:21 AM
To: <email address removed>
Subject: Questiom from a newbie

Hi Listers,
I an new to Realbasic and have never programmed before.

Just to make sure i am doing it the good way.

I have created a form with numeric input.
I therefore created editfields.
In the code i use something like :

Dim Test As Integer

To pass the value to Test i use something like
Test = Str(Editfield1.Text)

Or is there an easier way to do this?

Kind regards,
Gerrit

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>