Search found 445 matches

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

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: 763

Re: Gradient on TPanel?

Dear Uwe,

I tried but, not work

Code: Select all | Expand


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: 763

Re: Gradient on TPanel?

Great Uwe!

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

Some like this:

Code: Select all | Expand

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: 763

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: 326

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

A example

IF CHK_PARCELAS&#40; nValorDocumento, oGets, lClickBotaoAlterar &#41; oButtons&#91;1&#93;:Click&#40;&#41;ELSEIF nParcelas <> 1 oLbx:SetFocus&#40;&#41;ELSE oButtons&#91;7&#93;:setFocus&#40;&#41; &nbsp;// <-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: 326

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 ...
by JC
Wed Jul 22, 2009 8:09 pm
Forum: FiveWin for Harbour/xHarbour
Topic: To Antonio: Slow finalization??
Replies: 2
Views: 442

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:
PROCEDURE SAIR&#40;&#41;&nbsp; &nbsp;PostQuitMessage&#40; 0 &#41;&nbsp; &nbsp;__Quit&#40;&#41;RETURN
But, this this is taking too long. 5 seconds to finish it!
Anything is ...
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: 3291

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 ...
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: 3291

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

Armando wrote:Julio:

Please try this way

Code: Select all | Expand

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: 3291

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

In MySQL definition:

Code: Select all | Expand

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 | Expand

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: 563

Re: TdataBase delete

Dear Oto, I think is the same!! hehehehe
Please, look this: m


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

[code sample]

Because only when it is shared?
Also see that the function called is msgalerta and is not taken into ...
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: 3291

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: 3291

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: 3291

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!