FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour ON CLICK problem?
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
ON CLICK problem?
Posted: Mon Jan 19, 2015 08:36 AM
Dear All,

I have a problem with on ON CLICK in TWbrowse().
1st Dialog contain many BUTTON
2nd POPUP Dialog with LISTBOX over 1st Dialog. When I Click on line in LISTBOX and need to close 2nd Dialog.

The problem is CLICK on LISTBOX (automatic close 2nd Dialog) will effect with BUTTON on 1st Dialog.

It alike 1 click effect with listbox (2nd Dialog) and button in (1st Dialog).

When I click on Snacks & Appertizers, it will do ON_CLICK on button behind this line too.


Thank you in advance for any help and suggestion.
Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: ON CLICK problem?
Posted: Mon Jan 19, 2015 09:57 AM

Dutch,

before opening the second dialog, disable the first one:

oDialog1:Disable()

then later on, when you are done with oDialog2, do:

oDialog1:Enable()

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Re: ON CLICK problem?
Posted: Mon Jan 19, 2015 10:31 PM
Dear Antonio,

It doesn't fix, it still effect with button in dialog 1.
I try oDlg1:Hide() and oDlg1:Show(). It still the same problem.
Antonio Linares wrote:Dutch,

before opening the second dialog, disable the first one:

oDialog1:Disable()

then later on, when you are done with oDialog2, do:

oDialog1:Enable()
Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)

Continue the discussion