Search found 445 matches

by JC
Tue Sep 08, 2009 4:53 pm
Forum: FiveWin for Harbour/xHarbour
Topic: HBMAKE error!
Replies: 1
Views: 432

HBMAKE error!

Dear Antonio and friends...

When I compile my file .c, this error occurs:

Borland C++ 5.5.1 for Win32 Copyright (C) 1993, 2000 Borland
Error E2266: No file names given

What's is it!?
by JC
Mon Aug 31, 2009 8:09 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Gradient on TPanel?
Replies: 5
Views: 1073

Re: Gradient on TPanel?

Dear Uwe,

I tried but, not work

Code: Select all

IF ::l2007
   GradientFill( ::hDC, 0, 0, ::nHeight, ::nWidth, Eval( ::bClrGrad, .f. ) )
   return 0
ENDIF
by JC
Mon Aug 31, 2009 6:52 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Gradient on TPanel?
Replies: 5
Views: 1073

Re: Gradient on TPanel?

Great Uwe!

But, without a image file... it's possible too?

Some like this:

Code: Select all

lLook2007 := .T.
oBar := TBar():New( oWnd, 100, 68, .T., "TOP",, lLook2007 )
oPanel := TPanel():New( 0, oBar:nLeft, 68, oBar:nRight, oBar )
by JC
Mon Aug 31, 2009 5:57 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Gradient on TPanel?
Replies: 5
Views: 1073

Gradient on TPanel?

Dear Antonio and friends, Good afternoon!

Exists any way to create a gradient effect into TPanel class? The visual effect 2007?
by JC
Tue Aug 04, 2009 7:54 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Error on Focus with button Click!?!?
Replies: 2
Views: 499

Re: Error on Focus with button Click!?!?

A example

Code: Select all

IF CHK_PARCELAS( nValorDocumento, oGets, lClickBotaoAlterar )
   oButtons[1]:Click()
ELSEIF nParcelas <> 1
   oLbx:SetFocus()
ELSE
   oButtons[7]:setFocus()  // <-Here, it's don't goes to oButtons[7]... Goes to oButtons[2] ???? :(
ENDIF
by JC
Tue Aug 04, 2009 7:50 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Error on Focus with button Click!?!?
Replies: 2
Views: 499

Error on Focus with button Click!?!?

Dear Antonio and friends! I have a new strange behavior in my app... On FWH 2.8, when I clicked on a button or press enter, I set a focus for a another get and this work very fine. When I updated to new FWH 9.06, this not works very fine... Only when I clicked on button, it's work! On press enter, n...
by JC
Wed Jul 22, 2009 8:09 pm
Forum: FiveWin for Harbour/xHarbour
Topic: To Antonio: Slow finalization??
Replies: 2
Views: 534

To Antonio: Slow finalization??

Dear Antonio,

How are you?

I have a new problem into my fivewin 9.0.6... This is my source to finalize the application:

Code: Select all

PROCEDURE SAIR()

   PostQuitMessage( 0 )
   __Quit()

RETURN
But, this this is taking too long. 5 seconds to finish it!
Anything is wrong in my source?

Please, help me!
by JC
Mon Feb 09, 2009 7:50 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Erroneous conversion type ADO->boolean to xBrowse->logical
Replies: 15
Views: 3258

Re: Erroneous conversion type ADO->boolean to xBrowse->logical

Armando, I have another doubt! With fields type timestamp, the xHarbour returns DATE type field... CREATE TABLE test( date_recognize timestamp not null default current_timestamp ); I resolve this using like this: SELECT date_recognize FROM test; R=2009-12-24 SELECT CAST( date_recognize AS CHARACTER ...
by JC
Mon Feb 09, 2009 7:30 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Erroneous conversion type ADO->boolean to xBrowse->logical
Replies: 15
Views: 3258

Re: Erroneous conversion type ADO->boolean to xBrowse->logical

Armando wrote:Julio:

Please try this way

Code: Select all

CREATE TABLE test(
   active_register bit NOT NULL default 0  //  .F.
);
Regards
Dear Armando,

This is really very beautiful!
Now it's work perfectly!!

The field must be BIT and no boolean(tinyint)

Thank you for your attention with my problem! ;)
by JC
Mon Feb 09, 2009 6:24 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Erroneous conversion type ADO->boolean to xBrowse->logical
Replies: 15
Views: 3258

Re: Erroneous conversion type ADO->boolean to xBrowse->logical

In MySQL definition:

Code: Select all

CREATE TABLE test(
   active_register tinyint(1) NOT NULL default 0
);
If you put in this format, the MySQL convert to tinyint again :(

Code: Select all

CREATE TABLE test(
   active_register boolean NOT NULL default 0
);
When we get this value from ADO, it's is numeric!!
by JC
Mon Feb 09, 2009 5:12 pm
Forum: FiveWin for Harbour/xHarbour
Topic: TdataBase delete
Replies: 2
Views: 641

Re: TdataBase delete

Dear Oto, I think is the same!! hehehehe Please, look this: http://www.google.com.br/language_tools?hl=en I see that the method delete jumps a record if the SET DELETE is ON, but only if the DBF is opened in shared mode Because only when it is shared? Also see that the function called is msgalerta a...
by JC
Mon Feb 09, 2009 5:06 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Erroneous conversion type ADO->boolean to xBrowse->logical
Replies: 15
Views: 3258

Re: Erroneous conversion type ADO->boolean to xBrowse->logical

This value field oRsPro:Fields("PRO_CAN"):Value is from the MySQL boolean type?

Into MySQL, the boolean type is tinyint (a numeric value, it can be 0 or 1 ) and when it's access via xHarbour... it's returns a numeric type, not a logical type.
by JC
Mon Feb 09, 2009 1:50 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Erroneous conversion type ADO->boolean to xBrowse->logical
Replies: 15
Views: 3258

Re: Erroneous conversion type ADO->boolean to xBrowse->logical

Dear friends,

Please, somebody can help me with this?
Many weeks with this error... :(
by JC
Fri Feb 06, 2009 6:46 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Erroneous conversion type ADO->boolean to xBrowse->logical
Replies: 15
Views: 3258

Re: Erroneous conversion type ADO->boolean to xBrowse->logical

Enrico Maria Giordano wrote:Better starting with a reduced and self-contained sample of the problem. :wink:

EMG
I will provider it now!