To Manuel (TSbutton), still problem.

To Manuel (TSbutton), still problem.

Postby dutch » Fri Oct 30, 2009 8:59 am

Dear Manuel,

I got strange behavior. For SButton with When condition, In some dialog I can use tab or enter to change the focus to next control and to SBUTTON but some dialog, it skip SBUTTON to the begining control (SBUTTON for Save and Cancel).

If It has not WHEN condition, it works perfectly. I look in .RC file, it is the same properties. I don't know why?

Regards,
Dutch
Last edited by dutch on Sun Nov 01, 2009 12:07 am, edited 1 time in total.
Regards,
Dutch

FWH 19.01 / 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)
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: To Manuel (TSbutton)

Postby mmercado » Fri Oct 30, 2009 10:31 am

Hello Dutch:
dutch wrote:I got strange behavior. For SButton with When condition, In some dialog I can use tab or enter to change the focus to next control and to SBUTTON but some dialog, it skip SBUTTON to the begining control (SBUTTON for Save and Cancel).

If It has not WHEN condition, it works perfectly. I look in .RC file, it is the same properties. I don't know why?

Would you please to post an small self-contained sample to reproduce the situation?

Best regards.
manuelmercado at prodigy dot net dot mx
User avatar
mmercado
 
Posts: 782
Joined: Wed Dec 19, 2007 7:50 am
Location: Salamanca, Gto., México

Re: To Manuel (TSbutton)

Postby dutch » Fri Oct 30, 2009 11:47 am

Dear Manuel,

Code: Select all  Expand view
#include 'fivewin.ch'
#include 'tsbutton.ch'

*-------------*
Function Main
local odlg, oget[2], obtn
local cStamp := '', n
local cName := space(50)
local cTitle := space(50)

DEFINE DIALOG oDlg FROM 0, 0 TO 500, 600 TITLE 'Test' PIXEL

   @  10, 10 GET oGet[1] VAR cName OF oDlg SIZE 50,12 PIXEL
   @  25, 10 GET oGet[2] VAR cTitle  OF oDlg SIZE 50, 12 PIXEL

   @  50, 10 SBUTTON oBtn PROMPT 'Test' OF oDlg ;
        SIZE 40, 30 ;
        PIXEL ;
        WHEN !empty(cName) ;
        ACTION MsgInfo( cName )

ACTIVATE DIALOG oDlg CENTER
return nil
 

Regards,
Dutch
Regards,
Dutch

FWH 19.01 / 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)
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: To Manuel (TSbutton 6.3)

Postby dutch » Sat Oct 31, 2009 3:45 pm

Dear Manuel,

I used TSBUTTON 6.3

Regards,
Dutch
Regards,
Dutch

FWH 19.01 / 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)
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: To Manuel (TSbutton 6.3)

Postby mmercado » Sat Oct 31, 2009 4:57 pm

Hello Dutch:
dutch wrote:I used TSBUTTON 6.3

I just uploaded a revised TSButton.zip V.7.0 with that bug and others already fixed.

Here the link:
http://www.box.net/shared/9vyw4zeo0k

See \TSButton\Setup.txt to install it.

Best Regards.
manuelmercado at prodigy dot net dot mx
User avatar
mmercado
 
Posts: 782
Joined: Wed Dec 19, 2007 7:50 am
Location: Salamanca, Gto., México

Re: To Manuel (TSbutton)

Postby dutch » Sat Oct 31, 2009 5:39 pm

Dear Manuel,

Thanks, I will try it now.

Regards,
Dutch
Regards,
Dutch

FWH 19.01 / 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)
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: To Manuel (TSbutton)

Postby dutch » Sun Nov 01, 2009 12:07 am

Dear Manuel,

It has a problem now, the VALID cluase in the last control before SBUTTON will be ignore. In the sample, the VALID of the 2nd GET is will be skip (ignore).
Code: Select all  Expand view
#include 'fivewin.ch'
#include 'tsbutton.ch'

*-------------*
Function Main
local odlg, oget[2], obtn
local cStamp := '', n
local cName := space(50)
local cTitle := space(50)

DEFINE DIALOG oDlg FROM 0, 0 TO 500, 600 TITLE 'Test' PIXEL

   @  10, 10 GET oGet[1] VAR cName OF oDlg SIZE 50,12 PIXEL ;
             VALID (msginfo('test 1'), .T. )
   @  25, 10 GET oGet[2] VAR cTitle  OF oDlg SIZE 50, 12 PIXEL ;
             VALID (msginfo('test 2'), .T. )

   @  50, 10 SBUTTON oBtn PROMPT 'Test' OF oDlg ;
        SIZE 40, 30 ;
        PIXEL ;
        WHEN !empty(cName) ;
        ACTION MsgInfo( cName )

ACTIVATE DIALOG oDlg CENTER
return nil
 

Regards,
Dutch
Regards,
Dutch

FWH 19.01 / 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)
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: To Manuel (TSbutton)

Postby dutch » Fri Nov 06, 2009 12:42 pm

Dear Manuel,

The lastest SBUTTON.70 is still problem with VALID in last get as the sample below.
dutch wrote:Dear Manuel,

It has a problem now, the VALID cluase in the last control before SBUTTON will be ignore. In the sample, the VALID of the 2nd GET is will be skip (ignore).
Code: Select all  Expand view
#include 'fivewin.ch'
#include 'tsbutton.ch'

*-------------*
Function Main
local odlg, oget[2], obtn
local cStamp := '', n
local cName := space(50)
local cTitle := space(50)

DEFINE DIALOG oDlg FROM 0, 0 TO 500, 600 TITLE 'Test' PIXEL

   @  10, 10 GET oGet[1] VAR cName OF oDlg SIZE 50,12 PIXEL ;
             VALID (msginfo('test 1'), .T. )
   @  25, 10 GET oGet[2] VAR cTitle  OF oDlg SIZE 50, 12 PIXEL ;
             VALID (msginfo('test 2'), .T. )

   @  50, 10 SBUTTON oBtn PROMPT 'Test' OF oDlg ;
        SIZE 40, 30 ;
        PIXEL ;
        WHEN !empty(cName) ;
        ACTION MsgInfo( cName )

ACTIVATE DIALOG oDlg CENTER
return nil
 

Regards,
Dutch
Regards
Dutch
Regards,
Dutch

FWH 19.01 / 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)
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 27 guests