set the text of line 4 of field id 123?

2009-01-02 Thread David Bovill
These work as expected:

put newLine into line lineNum of field id fieldID
 set the htmltext of line lineNum of field id fieldID to newLine


So why on earth does this not work?

set the text of line lineNum of field id fieldID to newLine


I've always found the properties (text and htmltext) of text fields somewhat
inconsistent, and can never remember the ins and outs - so I 'think this
has always been the case and is not a new bug in the beta. Can anyone make
sense of this for me?
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: set the text of line 4 of field id 123?

2009-01-02 Thread Bill Marriott
David,

Because the text of is a property of a field (button, image), not a 
line/chunk thereof. The HTMLText syntax specifically allows for chunks; Text 
does not. From the docs:

set the HTMLText of [chunk of] field to htmlString
set the text of {button | field | image} to string

It would appear you have a nice enhancement request for the text of 
property, but it's probably that way because HTMLText will always be text 
data, whereas the text of something could be binary.

David Bovill wrote,

 These work as expected:

 put newLine into line lineNum of field id fieldID
 set the htmltext of line lineNum of field id fieldID to newLine

 So why on earth does this not work?

 set the text of line lineNum of field id fieldID to newLine

 I've always found the properties (text and htmltext) of text fields 
 somewhat
 inconsistent, and can never remember the ins and outs - so I 'think this
 has always been the case and is not a new bug in the beta. Can anyone make
 sense of this for me?



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: set the text of line 4 of field id 123?

2009-01-02 Thread David Bovill
OK - filed as an enhancement request.  Vote for it
herehttp://quality.runrev.com/qacenter/show_bug.cgi?id=7590- if you
feel the same!

I guess I could use set the htmltext of line 1 of field even if using plain
text - but I think it is just plain counter intuitive as it is - good to see
the docs are explicit though :)

2009/1/2 Bill Marriott w...@wjm.org

 David,

 Because the text of is a property of a field (button, image), not a
 line/chunk thereof. The HTMLText syntax specifically allows for chunks;
 Text
 does not. From the docs:

 set the HTMLText of [chunk of] field to htmlString
 set the text of {button | field | image} to string

 It would appear you have a nice enhancement request for the text of
 property, but it's probably that way because HTMLText will always be text
 data, whereas the text of something could be binary.


Bill - you don't know where to download beta's do you? I'd like to install
dp1 due to the value() bug in dp2 - and while I'm at it maybe check what
happened to my enterprise mailing list subscription?
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: set the text of line 4 of field id 123?

2009-01-02 Thread Bill Marriott
Rev doesn't have the betas available as a download ... that was available 
only during the open beta for 2.9. Now they're back to getting them from 
within the Enterprise software. But Heather might be able to help obtain it 
for you (or a new dp3 might do the trick). Heather's also the only person 
who can fix the Enterprise mailing list problem. Wish I could help.

 Bill - you don't know where to download beta's do you? I'd like to install
 dp1 due to the value() bug in dp2 - and while I'm at it maybe check what
 happened to my enterprise mailing list subscription?



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: set the text of line 4 of field id 123?

2009-01-02 Thread David Bovill
OK - thanks for the reply!

2009/1/2 Bill Marriott w...@wjm.org

 Rev doesn't have the betas available as a download ... that was available
 only during the open beta for 2.9. Now they're back to getting them from
 within the Enterprise software. But Heather might be able to help obtain it
 for you (or a new dp3 might do the trick). Heather's also the only person
 who can fix the Enterprise mailing list problem. Wish I could help.

  Bill - you don't know where to download beta's do you? I'd like to
 install
  dp1 due to the value() bug in dp2 - and while I'm at it maybe check what
  happened to my enterprise mailing list subscription?

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: set the text of line 4 of field id 123?

2009-01-02 Thread J. Landman Gay

David Bovill wrote:


I guess I could use set the htmltext of line 1 of field even if using plain
text - but I think it is just plain counter intuitive as it is - good to see
the docs are explicit though :)


What I think you want is:

 put cr into line lineNum of field id fieldID

Or you can probably use the newline constant instead.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: set the text of line 4 of field id 123?

2009-01-02 Thread David Bovill
Lost in translation :)

newLine here is just a (probably bad choice for a variable name. The issue
is not how to do it - it's just that it is naturla syntax to try to set
the text of line x of field... and I think you should be able to use it.

2009/1/2 J. Landman Gay jac...@hyperactivesw.com

 David Bovill wrote:

  I guess I could use set the htmltext of line 1 of field even if using
 plain
 text - but I think it is just plain counter intuitive as it is - good to
 see
 the docs are explicit though :)


 What I think you want is:

  put cr into line lineNum of field id fieldID

 Or you can probably use the newline constant instead.

 --
 Jacqueline Landman Gay | jac...@hyperactivesw.com
 HyperActive Software   | http://www.hyperactivesw.com

 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution