| View previous topic :: View next topic |
| Author |
Message |
marculos Newbie
Joined: 08 Feb 2007 Posts: 17
|
Posted: Fri Feb 09, 2007 1:40 pm Post subject: I really do need help now please "Cannot focus a disabl |
|
|
Hi,
I am tring to display some items that cannot be edited.
e.g.
DIALOG ADD,TEXT,labelCWB,10,10,,,Version:
DIALOG ADD,EDIT,txtNumber,5,100,,,%A
DIALOG DISABLE, txtNumber
then when I do DIALOG.SHOW
I get Exception:Cannot focus a disabled or invisible window
Any ideas >? |
|
| Back to top |
|
 |
GregLand Valued Contributor


Joined: 15 Jun 2004 Posts: 212 Location: FRANCE
|
Posted: Fri Feb 09, 2007 3:15 pm Post subject: |
|
|
Hello marculos
| Code: | DIALOG ADD,TEXT,labelCWB,10,10,,,Version:
DIALOG ADD,EDIT,txtNumber,5,100,,,%A
DIALOG SHOW
DIALOG DISABLE, txtNumber |
Put DIALOG DISABLE, txtNumber after DIALOG SHOW |
|
| Back to top |
|
 |
marculos Newbie
Joined: 08 Feb 2007 Posts: 17
|
Posted: Fri Feb 09, 2007 3:50 pm Post subject: |
|
|
| Doh ! Many thanks |
|
| Back to top |
|
 |
DaveR Valued Contributor


Joined: 03 Sep 2005 Posts: 413 Location: Australia
|
Posted: Sat Feb 10, 2007 2:24 am Post subject: |
|
|
Or after dialog hide:
| Code: | DIALOG ADD,TEXT,labelCWB,10,10,,,Version:
DIALOG ADD,EDIT,txtNumber,5,100,,,%A
DIALOG HIDE
DIALOG DISABLE, txtNumber
|
Then later in your code when needed you can DIALOG SHOW _________________ cheers
Dave |
|
| Back to top |
|
 |
|
|
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 can attach files in this forum You can download files in this forum
|
|