Select All Text when beginning Edit |
Post Reply |
Author | |
Boyd
Senior Member Joined: 08 December 2003 Location: United States Status: Offline Points: 285 |
Post Options
Thanks(0)
Posted: 04 August 2005 at 11:55am |
When the user starts to edit a value in ReportControl, I want to automatically select all the text because the user will typically be replacing the entire value. Currently, it places the cursor at the first offset and has no selection. This means the user has to then delete all the text before entering the new value. Is there any way to specify that all text should be selected when beginning an edit operation? Thanks in advance. |
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
Found your message today
The answer would be to set .SelectTextOnEdit of the corresponding item edit options to True (whether on populating the control, or just before starting editing). Example below:
-- WBR, Serge |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |