ddsSyncWithForm

  • Thread starter Andrey Orlenko 1038630570
  • Start date
A

Andrey Orlenko 1038630570

Guest
I am using ddsSyncWithForm SKILL-function for exec LibraryBrowser
window. It's clear. I am getting data from LibraryBrowser and
synchronize them with my edit form.

But I don't now how get event when this LibraryBrowser-window closes.

Please, help me.

--
Andrey Orlenko
Ukraine, Kiev
ICQ# 157544292
e-mail: eagle@ukr.net
http://flying.h11.ru/
 
Why do you need this, what do you want to do?

Bernd

Andrey Orlenko 1038630570 wrote:
I am using ddsSyncWithForm SKILL-function for exec LibraryBrowser
window. It's clear. I am getting data from LibraryBrowser and
synchronize them with my edit form.

But I don't now how get event when this LibraryBrowser-window closes.

Please, help me.
 
Bernd Fischer wrote:
Why do you need this, what do you want to do?

Bernd

Andrey Orlenko 1038630570 wrote:

I am using ddsSyncWithForm SKILL-function for exec LibraryBrowser
window. It's clear. I am getting data from LibraryBrowser and
synchronize them with my edit form.

But I don't now how get event when this LibraryBrowser-window closes.

Please, help me.
There is button 'Create' in my program. When I click this button
LibraryBrowser runs and I am choosing library and cell. After closing
LibraryBrowser-window I must start other calculations, but I don't now
how to recognize event when this window closes.

--
Andrey Orlenko
Ukraine, Kiev
ICQ# 157544292
e-mail: eagle@ukr.net
http://flying.h11.ru/
 
But you can check if you get
values for your library an cell.
If you have both values you could start your calculations?
If there are fields for your library and cell
in your form you can use form field calbacks therefore.

Bernd

Andrey Orlenko 1038630570 wrote:
Bernd Fischer wrote:

Why do you need this, what do you want to do?

Bernd

Andrey Orlenko 1038630570 wrote:

I am using ddsSyncWithForm SKILL-function for exec LibraryBrowser
window. It's clear. I am getting data from LibraryBrowser and
synchronize them with my edit form.

But I don't now how get event when this LibraryBrowser-window closes.

Please, help me.



There is button 'Create' in my program. When I click this button
LibraryBrowser runs and I am choosing library and cell. After closing
LibraryBrowser-window I must start other calculations, but I don't now
how to recognize event when this window closes.
 
Bernd Fischer wrote:

But you can check if you get
values for your library an cell.
If you have both values you could start your calculations?
If there are fields for your library and cell
in your form you can use form field calbacks therefore.

Bernd

Andrey Orlenko 1038630570 wrote:

Bernd Fischer wrote:

Why do you need this, what do you want to do?

Bernd

Andrey Orlenko 1038630570 wrote:

I am using ddsSyncWithForm SKILL-function for exec LibraryBrowser
window. It's clear. I am getting data from LibraryBrowser and
synchronize them with my edit form.

But I don't now how get event when this LibraryBrowser-window closes.

Please, help me.



There is button 'Create' in my program. When I click this button
LibraryBrowser runs and I am choosing library and cell. After closing
LibraryBrowser-window I must start other calculations, but I don't now
how to recognize event when this window closes.
Thanks!
I tried it ... but it doesn't fulfil my needs ;))

I need to start calculation ONLY when my form (library and cell) will be
filled and LibraryBrowser-window will be closed.

If I'll use algorithm "if I have both values I can start my
calculations" then every time, when user chooses data from
LibraryBrowser (but doesn't close window), my program must perform
calculations, what is unnecessary.

--
Andrey Orlenko
Ukraine, Kiev
ICQ# 157544292
e-mail: eagle@ukr.net
http://flying.h11.ru/
 
Sounds to me as if you need a form callback (with the ?callback option
on hiCreateAppForm() )

In fact you probably need to provide two (for OK/Apply and Cancel).
These should then call ddsEndSyncWithForm() - this will end the synchronisation
of the library select with the form, and also unmap the library select
(effectively close it).

I'm not sure why you need to check for the library browser being closed though.
Sure, you need to validate the form in your form callback when OK/Apply is
pressed, but that should be independent of whether the library browser is
closed.

Andrew.


On Thu, 04 Mar 2004 13:53:23 +0200, Andrey Orlenko 1038630570
<eagle@quad.ntu-kpi.kiev.ua> wrote:

Bernd Fischer wrote:

But you can check if you get
values for your library an cell.
If you have both values you could start your calculations?
If there are fields for your library and cell
in your form you can use form field calbacks therefore.

Bernd

Andrey Orlenko 1038630570 wrote:

Bernd Fischer wrote:

Why do you need this, what do you want to do?

Bernd

Andrey Orlenko 1038630570 wrote:

I am using ddsSyncWithForm SKILL-function for exec LibraryBrowser
window. It's clear. I am getting data from LibraryBrowser and
synchronize them with my edit form.

But I don't now how get event when this LibraryBrowser-window closes.

Please, help me.



There is button 'Create' in my program. When I click this button
LibraryBrowser runs and I am choosing library and cell. After closing
LibraryBrowser-window I must start other calculations, but I don't now
how to recognize event when this window closes.



Thanks!
I tried it ... but it doesn't fulfil my needs ;))

I need to start calculation ONLY when my form (library and cell) will be
filled and LibraryBrowser-window will be closed.

If I'll use algorithm "if I have both values I can start my
calculations" then every time, when user chooses data from
LibraryBrowser (but doesn't close window), my program must perform
calculations, what is unnecessary.
--
Andrew Beckett
Senior Technical Leader
Custom IC Solutions
Cadence Design Systems Ltd
 
Andrew Beckett wrote:
Sounds to me as if you need a form callback (with the ?callback option
on hiCreateAppForm() )

In fact you probably need to provide two (for OK/Apply and Cancel).
These should then call ddsEndSyncWithForm() - this will end the synchronisation
of the library select with the form, and also unmap the library select
(effectively close it).

I'm not sure why you need to check for the library browser being closed though.
Sure, you need to validate the form in your form callback when OK/Apply is
pressed, but that should be independent of whether the library browser is
closed.

Andrew.


On Thu, 04 Mar 2004 13:53:23 +0200, Andrey Orlenko 1038630570
eagle@quad.ntu-kpi.kiev.ua> wrote:


Bernd Fischer wrote:


But you can check if you get
values for your library an cell.
If you have both values you could start your calculations?
If there are fields for your library and cell
in your form you can use form field calbacks therefore.

Bernd

Andrey Orlenko 1038630570 wrote:


Bernd Fischer wrote:


Why do you need this, what do you want to do?

Bernd

Andrey Orlenko 1038630570 wrote:


I am using ddsSyncWithForm SKILL-function for exec LibraryBrowser
window. It's clear. I am getting data from LibraryBrowser and
synchronize them with my edit form.

But I don't now how get event when this LibraryBrowser-window closes.

Please, help me.


There is button 'Create' in my program. When I click this button
LibraryBrowser runs and I am choosing library and cell. After closing
LibraryBrowser-window I must start other calculations, but I don't now
how to recognize event when this window closes.


Thanks!
I tried it ... but it doesn't fulfil my needs ;))

I need to start calculation ONLY when my form (library and cell) will be
filled and LibraryBrowser-window will be closed.

If I'll use algorithm "if I have both values I can start my
calculations" then every time, when user chooses data from
LibraryBrowser (but doesn't close window), my program must perform
calculations, what is unnecessary.


--
Andrew Beckett
Senior Technical Leader
Custom IC Solutions
Cadence Design Systems Ltd
Ok, thanks!
I have made like you said.

--
Andrey Orlenko
Ukraine, Kiev
ICQ# 157544292
e-mail: eagle@ukr.net
http://flying.h11.ru/
 

Welcome to EDABoard.com

Sponsor

Back
Top