KiXforms Forum Index KiXforms
The Forum for the KiXforms Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Quick Links 
Site News
Downloads
Documentation
Donations
Script Archive
Tracking Systems

Adding Text to a textbox\richtextbox

 
Post new topic   Reply to topic    KiXforms Forum Index -> Starters Code Clinic
View previous topic :: View next topic  
Author Message
sliver
KiXforms Follower
KiXforms Follower


Joined: 30 Apr 2003
Posts: 19

PostPosted: Thu Oct 16, 2003 2:47 pm    Post subject: Adding Text to a textbox\richtextbox Reply with quote

Is there any way to add text to a text box after the form is already displayed. I tried using $richtextbox1.text=textIwanttodisplay but nothing shows up in the box....is there another way to do this besides a listview (I don't want to use a listview because I don't want to have a column...I want it to look like a textbox.)

Thanks,
Back to top
View user's profile Send private message
John
KiXforms Dabbler
KiXforms Dabbler


Joined: 29 Sep 2003
Posts: 9
Location: Somerset, UK

PostPosted: Thu Oct 16, 2003 5:37 pm    Post subject: Reply with quote

You probably need to refresh the form after changing the text. And the text is a string so you need to put it in quotes..

Code:

$richtextbox1.text = "textIwanttodisplay"
$Form.Refresh

_________________
Cheers

John
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Thu Oct 16, 2003 10:07 pm    Post subject: Reply with quote

John's correct, but please avoid using the RichTextBox at this time - it is very underdeveloped ... in fact, its hardly developed at all. But when it is done, John's syntax will work. Use TextBox in the short-term.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    KiXforms Forum Index -> Starters Code Clinic All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group