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: http://flying.h11.ru/
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: 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
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: 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.
Ok, thanks! I have made like you said. -- Andrey Orlenko Ukraine, Kiev ICQ# 157544292 e-mail: http://flying.h11.ru/