TSButton V.6.1 as I promised.

Postby mmercado » Sun Apr 06, 2008 3:38 pm

Otto wrote:my first test.

Very good Otto (what a speed) I hope TSButton help you to keep the quality of your apps as in every work you have shown to us.

Best regards.

Manuel Mercado
User avatar
mmercado
 
Posts: 782
Joined: Wed Dec 19, 2007 7:50 am
Location: Salamanca, Gto., México

Postby dutch » Sun Apr 06, 2008 5:44 pm

Dear Manuel,

I've compile with xHB.com Nov '07. I works great.

Thanks for nice lib.

Regards,
Dutch
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Postby Otto » Sun Apr 06, 2008 11:16 pm

Mr. Manuel,

I made some more tests.

Could you please have a look into
TSTSay:SetText() method.

SetText writes the caption and paint draws cText

Workaround:
oRes:VarPut(Tran(nMemo,"@E 999,999,999,999,999.99"))
oRes:SetText()

Regards,
Otto

Image
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Postby mmercado » Mon Apr 07, 2008 4:25 am

Otto wrote:SetText writes the caption and paint draws cText
Workaround:
oRes:VarPut(Tran(nMemo,"@E 999,999,999,999,999.99"))
oRes:SetText()

Please change SetText Method in TSTSay.prg to:
Code: Select all  Expand view  RUN
   METHOD SetText( cText ) INLINE ::Hide(), ::VarPut( cText ), ::cCaption := Eval( ::bGet ), ;
                                  SetWindowText( ::hWnd, ::cCaption ), ::Show()

TSTSay class was a little forgotten, many thanks for your feedback.

Manuel Mercado
User avatar
mmercado
 
Posts: 782
Joined: Wed Dec 19, 2007 7:50 am
Location: Salamanca, Gto., México

Postby ShumingWang » Mon Apr 07, 2008 6:01 am

Manuel Mercado,
Very little need enhance:
1.crystal,sunset shape,
the conner seems not transparent.
2. @1,2 sbutton .. ,
seems default size 0 height
3.@1,2 sbutton "text" of odlg
seems ilegal sytax "text" ,must prompt "text"
Best regards!
Shuming Wang
ShumingWang
 
Posts: 465
Joined: Sun Oct 30, 2005 6:37 am
Location: Guangzhou(Canton),China

Postby Otto » Mon Apr 07, 2008 6:38 am

Mr. Manuel,

Thank you for your quick response and help.
I change these lines.
May I ask you if you allow me posting the
SBUTTON class for downloading on

http://fwcodesnips.com/

Regards,
Otto
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Postby mmercado » Mon Apr 07, 2008 4:35 pm

Otto wrote:May I ask you if you allow me posting the
SBUTTON class for downloading on
http://fwcodesnips.com/


Of course

Regards

Manuel Mercado
User avatar
mmercado
 
Posts: 782
Joined: Wed Dec 19, 2007 7:50 am
Location: Salamanca, Gto., México

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 81 guests