Print Page | Close Window

Entering text into multiline item

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Property Grid
Forum Description: Topics Related to Codejock Property Grid
URL: http://forum.codejock.com/forum_posts.asp?TID=17131
Printed Date: 07 July 2024 at 10:14pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Entering text into multiline item
Posted By: jposborne
Subject: Entering text into multiline item
Date Posted: 19 August 2010 at 4:48am
Hi,
 
Ive created an item as follows:
 
    Set Item = Category.AddChildItem(PropertyItemMultilineString, "Description")
    Item.Caption = "Description"
    Item.MultiLinesCount = 3
    Item.Tooltip = "Please enter a description for the item"
If I then click the drop down and type text into the drop down area, it does not update into the item.  I assume you have to trap an event and write it back in, but I can't see how this is done.  Since you can only enter carraige returns directly into the item you have to enter these in the drop down area, but then it doesn't update.  I assume I'm missing something obvious here.
 
Any help would be appreciated.
 
Cheers
Jon



Replies:
Posted By: jposborne
Date Posted: 19 August 2010 at 5:01am
Just noticed that if you press ctl+enter in the drop down area the text is written back to the item.  This seems a bit end user unfriendly.  I'm sure none of my end users would work this out unless I explictly stated it in the caption. 
 
There must be a easier way?


Posted By: jposborne
Date Posted: 25 August 2010 at 12:16am
Codejock,
 
Can you please advise as to the best way to get the text back into the item wthout having to press function keys or key combinations?
 
Thanks



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net