Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Property Grid
  New Posts New Posts RSS Feed - SOLVED: Carriage Return in textfield
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SOLVED: Carriage Return in textfield

 Post Reply Post Reply
Author
Message
McKloony View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 January 2007
Location: Germany
Status: Offline
Points: 340
Post Options Post Options   Thanks (0) Thanks(0)   Quote McKloony Quote  Post ReplyReply Direct Link To This Post Topic: SOLVED: Carriage Return in textfield
    Posted: 16 March 2009 at 3:43am
in the new release of Property Grid 13.0.0 it is't longer possible to enter a manual carriage Teturn in a textfield, that is higher that one row. In earlier releases ist was Posiitble to press Enter oder Ctrl+Enter. Now the cursor jumps directly into the next field.
Product: Xtreme SuitePro (ActiveX) 16.2.5

Platform: XP / Windows 7

Language: Visual Basic 6.0 SP6
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 16 March 2009 at 5:03am
Hi Marcus,
 
Did you set EditStyle for propertygrid string?
 
Set ItemProp = Item.AddChildItem(PropertyItemString, "String", "abc")
            ItemProp.MultiLinesCount = 2
            ItemProp.EditStyle = EditStyleWantReturn
 
 
will produce output:
 
 
 
 
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....
Back to Top
McKloony View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 January 2007
Location: Germany
Status: Offline
Points: 340
Post Options Post Options   Thanks (0) Thanks(0)   Quote McKloony Quote  Post ReplyReply Direct Link To This Post Posted: 16 March 2009 at 10:45am
 
= EditStyleWantReturn Or EditStyleMultiLine Or EditStyleVScroll
 
works fine
Product: Xtreme SuitePro (ActiveX) 16.2.5

Platform: XP / Windows 7

Language: Visual Basic 6.0 SP6
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.281 seconds.