Skip to main content

[archive] Destroy statement....

  • October 6, 2008
  • 9 replies
  • 0 views

Dominique Sacre
Forum|alt.badge.img+2

[Migrated content. Thread originally posted on 06 October 2008]

Hello,

Ver. 7.2.0
Platform: Windows-XP SP3


I've a program which has more than one screen(form1 and form2).
In the main screen(form1) there is a push-button to load another screen(form2) which displayes a list of items in a grid-control.
once the user choses one of items in the list(grid), I'm terminating this screen(form2) and returing to the previous one(form1).

I use destroy form2-handle to exit the second screen and return to the previous one as mentioned above, but what happens is that the screen(form2) is terminated but the whole program is freezed.

Any tips...

Thanks

9 replies

Dominique Sacre
Forum|alt.badge.img+2

[Migrated content. Thread originally posted on 06 October 2008]

Hello,

Ver. 7.2.0
Platform: Windows-XP SP3


I've a program which has more than one screen(form1 and form2).
In the main screen(form1) there is a push-button to load another screen(form2) which displayes a list of items in a grid-control.
once the user choses one of items in the list(grid), I'm terminating this screen(form2) and returing to the previous one(form1).

I use destroy form2-handle to exit the second screen and return to the previous one as mentioned above, but what happens is that the screen(form2) is terminated but the whole program is freezed.

Any tips...

Thanks
maybe accept form2 statement is continue,
change "destroy form2-handle" code to "set exit-pushed to true".

Dominique Sacre
Forum|alt.badge.img+2

[Migrated content. Thread originally posted on 06 October 2008]

Hello,

Ver. 7.2.0
Platform: Windows-XP SP3


I've a program which has more than one screen(form1 and form2).
In the main screen(form1) there is a push-button to load another screen(form2) which displayes a list of items in a grid-control.
once the user choses one of items in the list(grid), I'm terminating this screen(form2) and returing to the previous one(form1).

I use destroy form2-handle to exit the second screen and return to the previous one as mentioned above, but what happens is that the screen(form2) is terminated but the whole program is freezed.

Any tips...

Thanks
tried what you said, but the same...

Dominique Sacre
Forum|alt.badge.img+2

[Migrated content. Thread originally posted on 06 October 2008]

Hello,

Ver. 7.2.0
Platform: Windows-XP SP3


I've a program which has more than one screen(form1 and form2).
In the main screen(form1) there is a push-button to load another screen(form2) which displayes a list of items in a grid-control.
once the user choses one of items in the list(grid), I'm terminating this screen(form2) and returing to the previous one(form1).

I use destroy form2-handle to exit the second screen and return to the previous one as mentioned above, but what happens is that the screen(form2) is terminated but the whole program is freezed.

Any tips...

Thanks
tried what you said, but the same...

Dominique Sacre
Forum|alt.badge.img+2

[Migrated content. Thread originally posted on 06 October 2008]

Hello,

Ver. 7.2.0
Platform: Windows-XP SP3


I've a program which has more than one screen(form1 and form2).
In the main screen(form1) there is a push-button to load another screen(form2) which displayes a list of items in a grid-control.
once the user choses one of items in the list(grid), I'm terminating this screen(form2) and returing to the previous one(form1).

I use destroy form2-handle to exit the second screen and return to the previous one as mentioned above, but what happens is that the screen(form2) is terminated but the whole program is freezed.

Any tips...

Thanks
tried what you said, but the same...

Dominique Sacre
Forum|alt.badge.img+2

[Migrated content. Thread originally posted on 06 October 2008]

Hello,

Ver. 7.2.0
Platform: Windows-XP SP3


I've a program which has more than one screen(form1 and form2).
In the main screen(form1) there is a push-button to load another screen(form2) which displayes a list of items in a grid-control.
once the user choses one of items in the list(grid), I'm terminating this screen(form2) and returing to the previous one(form1).

I use destroy form2-handle to exit the second screen and return to the previous one as mentioned above, but what happens is that the screen(form2) is terminated but the whole program is freezed.

Any tips...

Thanks
Are you in the event procedure of the grid when you are destroying the screen? Perhaps that is causing the problem?

Dominique Sacre
Forum|alt.badge.img+2

[Migrated content. Thread originally posted on 06 October 2008]

Hello,

Ver. 7.2.0
Platform: Windows-XP SP3


I've a program which has more than one screen(form1 and form2).
In the main screen(form1) there is a push-button to load another screen(form2) which displayes a list of items in a grid-control.
once the user choses one of items in the list(grid), I'm terminating this screen(form2) and returing to the previous one(form1).

I use destroy form2-handle to exit the second screen and return to the previous one as mentioned above, but what happens is that the screen(form2) is terminated but the whole program is freezed.

Any tips...

Thanks
Terminated the grid, but still getting the same problem.

If we start from zero, what should be done to select from a grid then directely close the screen without clicking on 'x'?

thanks

Dominique Sacre
Forum|alt.badge.img+2

[Migrated content. Thread originally posted on 06 October 2008]

Hello,

Ver. 7.2.0
Platform: Windows-XP SP3


I've a program which has more than one screen(form1 and form2).
In the main screen(form1) there is a push-button to load another screen(form2) which displayes a list of items in a grid-control.
once the user choses one of items in the list(grid), I'm terminating this screen(form2) and returing to the previous one(form1).

I use destroy form2-handle to exit the second screen and return to the previous one as mentioned above, but what happens is that the screen(form2) is terminated but the whole program is freezed.

Any tips...

Thanks
Please attach a small sample program.

Dominique Sacre
Forum|alt.badge.img+2

[Migrated content. Thread originally posted on 06 October 2008]

Hello,

Ver. 7.2.0
Platform: Windows-XP SP3


I've a program which has more than one screen(form1 and form2).
In the main screen(form1) there is a push-button to load another screen(form2) which displayes a list of items in a grid-control.
once the user choses one of items in the list(grid), I'm terminating this screen(form2) and returing to the previous one(form1).

I use destroy form2-handle to exit the second screen and return to the previous one as mentioned above, but what happens is that the screen(form2) is terminated but the whole program is freezed.

Any tips...

Thanks
Please attach a small sample program.

Dominique Sacre
Forum|alt.badge.img+2

[Migrated content. Thread originally posted on 06 October 2008]

Hello,

Ver. 7.2.0
Platform: Windows-XP SP3


I've a program which has more than one screen(form1 and form2).
In the main screen(form1) there is a push-button to load another screen(form2) which displayes a list of items in a grid-control.
once the user choses one of items in the list(grid), I'm terminating this screen(form2) and returing to the previous one(form1).

I use destroy form2-handle to exit the second screen and return to the previous one as mentioned above, but what happens is that the screen(form2) is terminated but the whole program is freezed.

Any tips...

Thanks
Please attach a small sample program.