| View previous topic :: View next topic |
| Author |
Message |
Tdk161 Valued Contributor


Joined: 08 Feb 2005 Posts: 399 Location: ITALY
|
Posted: Wed Jun 08, 2011 10:56 am Post subject: Vdsobj dll question [SOLVED] |
|
|
Hi,
I would like use vdsobj control (richedit) In a child dialog, the issue is after close the dialog with richedit control removing it before child dialog is closed (using object remove,<control> command) recall second time this dialog r about adding the richedit control returned
Someone can explain me please wgat I wrong?
Thank you
Last edited by Tdk161 on Fri Jun 10, 2011 12:17 am; edited 1 time in total |
|
| Back to top |
|
 |
cnodnarb Professional Member


Joined: 11 Sep 2002 Posts: 766 Location: Eastman, GA
|
Posted: Thu Jun 09, 2011 4:38 pm Post subject: |
|
|
I bet the DLL will not allow the recreation of a previous named control. The VDS browser control operates the same way.
The way around this is to use a variable in the dialog name.
It's been a long time since I used this DLL, from memory:
| Code: | %%myrichedit = @succ(%%myrichedit)
element add,richedit,richedit%%myrichedit,#mywindow,0,0,100,100 |
|
|
| Back to top |
|
 |
Tdk161 Valued Contributor


Joined: 08 Feb 2005 Posts: 399 Location: ITALY
|
Posted: Fri Jun 10, 2011 12:17 am Post subject: |
|
|
Hi cnodnarb,
I thinked the same solution and you confirmed
Thank you a lot |
|
| Back to top |
|
 |
|