![]() |
Programmatic focus |
Post Reply
|
| Author | |
RG7351
Newbie
Joined: 08 January 2007 Status: Offline Points: 5 |
Post Options
Thanks(0)
Quote Reply
Topic: Programmatic focusPosted: 05 February 2007 at 3:43pm |
|
Is there some way that I can programmatically set focus to a control located in a form associated with a docking pane? I tried:
frmExample.oControl.setfocus
But this always results in 'Invalid procedure call or argument'.
I assume that this occurs because the frmExample may not be 'visible' as it is subclassed? Any ideas?
Thanks,
-RG
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 February 2007 at 10:22am |
|
Hi,
just call
DockingPane1.ShowPane Id
It will show pane and set focus.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
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 |