FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour VALID in dialogs
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
VALID in dialogs
Posted: Fri Jun 01, 2012 08:09 AM

I noticed, that are not in all cases, the valid-clausula from a window or dialog are respected when it is closed with the little X in the right upper corner!
A second problem is in gets with action. When this gets are disabled, a centered text goto right.

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: VALID in dialogs
Posted: Fri Jun 01, 2012 11:35 AM

Günther,

Could you provide a working example ? thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Re: VALID in dialogs
Posted: Fri Jun 01, 2012 12:22 PM

Günther,

Depending on whether you chose Modal or Non-Modal Window determines how the valid clause will be evaluated.

When you use MDI ( non-modal ) and non-modal dialogs( winchild ) , valid is always evaluated when you close a window either by oWnd:CLose(), oWndChild:CLose() or by x'ing out of the application.

YES, you can have a non-modal dialog ( nowait ), but if the dialog is not a MdiChild of the MDI window, the valid clause will not be evaluated you will not be able to trap an x out application close.

Hope that makes sense.

Rick Lipkin

Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: VALID in dialogs; GETS wrong displayed
Posted: Mon Jun 04, 2012 10:47 AM

Thanks for your reply! For VALID it was my mistake from a wrong programming. Sorry! But the wrong display from disabled gets with action-clausula are really unreadable. (only on centered or right gets?)

Regards,
Günther
---------------------------------
office@byte-one.com

Continue the discussion