Re: [Harbour] Re: FocusIn and FocusOut in widgets

2010-02-27 Thread francesco perillo
Is this a way to have WHEN/VALID implementation ? Francesco ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

[Harbour] SF.net SVN: harbour-project:[14008] trunk/harbour

2010-02-27 Thread vszakats
Revision: 14008 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14008&view=rev Author: vszakats Date: 2010-02-27 09:06:23 + (Sat, 27 Feb 2010) Log Message: --- 2010-02-27 10:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbsqlit3/hbsqlit3

[Harbour] SF.net SVN: harbour-project:[14009] trunk/harbour

2010-02-27 Thread druzus
Revision: 14009 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14009&view=rev Author: druzus Date: 2010-02-27 10:07:03 + (Sat, 27 Feb 2010) Log Message: --- 2010-02-27 11:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/macro.

[Harbour] SF.net SVN: harbour-project:[14010] trunk/harbour

2010-02-27 Thread vszakats
Revision: 14010 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14010&view=rev Author: vszakats Date: 2010-02-27 10:15:42 + (Sat, 27 Feb 2010) Log Message: --- 2010-02-27 11:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/rddsql/sddoci/sdd

[Harbour] Re: Harbour MySQL errors

2010-02-27 Thread Mitja Podgornik
It's caused by this wrong (old) code in the class wrapper, now correctly shown as argument error: --- tmysql.prg @ 372 ELSE // Should query have returned rows? (Was it a SELECT like query?) IF ( ::nNumFields := mysql_num_fields( nSocket ) ) == 0 // Was

[Harbour] Re: OS/2: Harbour 13976

2010-02-27 Thread David Arturo Macias Corona
Pritpal, thanks I need a basic code sample to test hbqt, without use of QInputContext, QWidget, just to know if hbqt-qt461 for OS/2 will run Something as minidemoqt.prg :-) This is not possible without QWidget class. QWidget is the parent of all GUI classes. This is the object tree : Q

Re: [Harbour] MySQL errors

2010-02-27 Thread Mitja Podgornik
Hi Well, there are legal MySQL commands whitout any returning value like 'USE ' or all 'SET <> <>' commands. Strictly these are not Querries so one solution could be to create new class for these commands. regards, Mitja - Original Message From: Mitja Podgornik To: harbour@harbour

[Harbour] SF.net SVN: harbour-project:[14011] trunk/harbour

2010-02-27 Thread vszakats
Revision: 14011 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14011&view=rev Author: vszakats Date: 2010-02-27 11:29:31 + (Sat, 27 Feb 2010) Log Message: --- 2010-02-27 12:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbodbc/odbc.c *

Re: [Harbour] Re: FocusIn and FocusOut in widgets

2010-02-27 Thread CarozoDeQuilmes
I thinks that yes. In HbQtCommand we use it for execute an user action on GotFocus and/or LostFocus Sample: DEFINE TEXTBOX t1 VALUE "Initial Value" ONLOSTFOCUS myRoutineForValid() END TEXTBOX Regards CdQ On Sat, Feb 27, 2010 at 5:21 AM, francesco perillo wrote: > Is this a way to have

Re: [Harbour] Re: FocusIn and FocusOut in widgets

2010-02-27 Thread francesco perillo
Thank you for your reply. I still had no time to look at HbQtCommand documentation... I hope to do it tomorrow > DEFINE TEXTBOX t1 >    VALUE "Initial Value" >    ONLOSTFOCUS myRoutineForValid() > END TEXTBOX What happens when myRoutineForValid() returns .F. ? Or when myRoutineForValid() returns

Re: [Harbour] Re: Method WinId in HbQt

2010-02-27 Thread CarozoDeQuilmes
Ok. Thanks. CdQ On Fri, Feb 26, 2010 at 5:27 PM, Pritpal Bedi wrote: > > > CarozoDeQuilmes wrote: > > > > Hi Pritpal, can you add method "winId" of class QMainWindow in _HbQt ? > > > > No, this is Windows only solution. > We had to drop it almost hal an year before. > > > - >

Re: [Harbour] Re: FocusIn and FocusOut in widgets

2010-02-27 Thread CarozoDeQuilmes
Hi Francesco: for WHEN/VALID you can use VALID property (not implemented at this moment, but I will implement it before release the first HbQtCommand version. Ex: DEFINE TEXTBOX t1 VALUE "Initial Value" VALID myRoutineForValid() // Need Return .T. or .F. END TEXTBOX The HbQtCommand and his

Re: [Harbour] Re: FocusIn and FocusOut in widgets

2010-02-27 Thread francesco perillo
Thank you for your sample. I'm reading a book on Qt but it is C++ based. It's really interesting what you can do with Qt. In C++ you can easily subclass widgets to extend their functionalities, add slots and signals... is it possible to do this with hbqt/hbqtcommand ? in C++ or Harbour ? Frances

Re: [Harbour] SF.net SVN: harbour-project:[14011] trunk/harbour

2010-02-27 Thread Lorenzo Fiorini
On Sat, Feb 27, 2010 at 12:29 PM, wrote: >  * contrib/hbodbc/odbc.c >  * contrib/rddsql/sddodbc/sddodbc.c I'm testing Ubuntu 10.04 Alpha3 and I got these warnings: ../../../odbc.c: In function ‘HB_FUN_SQLDRIVERCONNECT’: ../../../odbc.c:162: warning: pointer targets in passing argument 2 of ‘hb

Re: [Harbour] SF.net SVN: harbour-project:[14011] trunk/harbour

2010-02-27 Thread Viktor Szakáts
That is why I left this message in the ChangeLog: --- 2010-02-27 12:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) ... ; TOFIX: Warnings are showing up in non-UNICODE mode: odbc.c:438: warning: pointer targets in passing argument 2 of 'hb_storstr' differ in signedness

Re: [Harbour] Re: SF.net SVN: harbour-project:[14007] trunk/harbour

2010-02-27 Thread Massimo Belgrano
regarding function-doc of harbour tree Imo is better done by double click or pressing a function key (imo f1) doc/ instead type( because i need help reading already written source so i not type "(" can you give simular result also using harbour language guide by xharbour.com? as i have previous w

[Harbour] Re: OS/2: Harbour 13976

2010-02-27 Thread Pritpal Bedi
David Arturo Macias Corona wrote: > > Compiling hbqtgui fail with QWidget.cpp, as expected, with: > -- > gcc -I. -I../../../../../../include -Zomf -Wall -W -O3 > -DHB_LEGACY_TYPES_OFF -IE:\qt4\include -IE:\qt4\include/QtCore > -IE:\qt4\include/QtGui -DHB_FM_STATISTICS_OFF

[Harbour] Re: SF.net SVN: harbour-project:[14007] trunk/harbour

2010-02-27 Thread Pritpal Bedi
Massimo Belgrano wrote: > > regarding function-doc of harbour tree > Imo is better done by double click or pressing a function key (imo f1) > doc/ > instead type( > because i need help reading already written source so i not type "(" > Yep, double click is required, implementing. With "(" it

[Harbour] SF.net SVN: harbour-project:[14012] trunk/harbour

2010-02-27 Thread mauriliolongo
Revision: 14012 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14012&view=rev Author: mauriliolongo Date: 2010-02-27 17:57:18 + (Sat, 27 Feb 2010) Log Message: --- 2010-02-27 18:55 UTC+0100 Maurilio Longo (maurilio.lo...@libero.it) * src/common/hbff

[Harbour] SF.net SVN: harbour-project:[14013] trunk/harbour

2010-02-27 Thread vszakats
Revision: 14013 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14013&view=rev Author: vszakats Date: 2010-02-27 19:09:47 + (Sat, 27 Feb 2010) Log Message: --- 2010-02-27 20:07 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbodbc/odbc.c *

[Harbour] SF.net SVN: harbour-project:[14014] trunk/harbour

2010-02-27 Thread druzus
Revision: 14014 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14014&view=rev Author: druzus Date: 2010-02-27 19:20:56 + (Sat, 27 Feb 2010) Log Message: --- 2010-02-27 20:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcom

[Harbour] SF.net SVN: harbour-project:[14015] trunk/harbour

2010-02-27 Thread vszakats
Revision: 14015 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14015&view=rev Author: vszakats Date: 2010-02-27 19:27:09 + (Sat, 27 Feb 2010) Log Message: --- 2010-02-27 20:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * ChangeLog + Added mis

Re: [Harbour] Re: SF.net SVN: harbour-project:[14007] trunk/harbour

2010-02-27 Thread Massimo Belgrano
2010/2/27 Pritpal Bedi > > > Massimo Belgrano wrote: > > > > > > Yep, double click is required, implementing. > With "(" it is added advantage. Agree! > > > > How you are using macro, show me code example. > I can assume, though may be wrongly, that it will be Windows only solution. > > yey i

[Harbour] SF.net SVN: harbour-project:[14016] trunk/harbour

2010-02-27 Thread vouchcac
Revision: 14016 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14016&view=rev Author: vouchcac Date: 2010-02-27 19:53:19 + (Sat, 27 Feb 2010) Log Message: --- 2010-02-27 11:40 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) * contrib/hbqt/generator/hbqt

Re: [Harbour] Re: FocusIn and FocusOut in widgets

2010-02-27 Thread CarozoDeQuilmes
Hi Francesco, I only use HbQt to make a final framework based in harbour user commands Pritpal Bedi is the Qt expert and HbQt guru. Regards CdQ On Sat, Feb 27, 2010 at 12:36 PM, francesco perillo wrote: > Thank you for your sample. > > I'm reading a book on Qt but it is C++ based. It's really i

[Harbour] Re: SF.net SVN: harbour-project:[14007] trunk/harbour

2010-02-27 Thread Pritpal Bedi
Massimo Belgrano wrote: > > |cTopic| > IF( Empty( cTopic := ::GetText() ), cTopic := ::GetWord(.F.) ), > HtmlHelpTopic( ::hWnd, "c:\harbour\xhdoc\xHarbour Language > Reference Guide.chm", cTopic ) > HtmlHelpTopic( ::hWnd, "c:\harbour\xhdoc\xHarbour Language Reference Guide.chm", cTopic ) Invo

Re: [Harbour] Re: SF.net SVN: harbour-project:[14007] trunk/harbour

2010-02-27 Thread Viktor Szakáts
> > Massimo Belgrano wrote: > > > > |cTopic| > > IF( Empty( cTopic := ::GetText() ), cTopic := ::GetWord(.F.) ), > > HtmlHelpTopic( ::hWnd, "c:\harbour\xhdoc\xHarbour Language > > Reference Guide.chm", cTopic ) > > > > HtmlHelpTopic( ::hWnd, "c:\harbour\xhdoc\xHarbour Language > Reference Guide.chm

[Harbour] Re: SF.net SVN: harbour-project:[14007] trunk/harbour

2010-02-27 Thread Pritpal Bedi
Viktor Szakáts wrote: > > Custom list of external commands. If you need to pass > some values, you can add support for macros. (f.e. {TOPIC} > means cTopic), and then call the external command. Most > of the things can be solved using them. > Yes I am aware but for this particular purpose {TOP

Re: [Harbour] Re: SF.net SVN: harbour-project:[14007] trunk/harbour

2010-02-27 Thread Viktor Szakáts
> > > Custom list of external commands. If you need to pass > > some values, you can add support for macros. (f.e. {TOPIC} > > means cTopic), and then call the external command. Most > > of the things can be solved using them. > > > > Yes I am aware but for this particular purpose {TOPIC} > needs t

[Harbour] Re: OS/2: Harbour 13976

2010-02-27 Thread David Arturo Macias Corona
Pritpal: >> demoqt.prg >> == >> - Build fine >> - Open a window with content >> - Maximize beyond of desktop size >> - Fx keys seem to work >> - Output from 1,2 are: >> -- >> QPainter::begin: Paint device returned engine == 0, type: 1 >> QPainter::begin: Paint device r

[Harbour] SF.net SVN: harbour-project:[14017] trunk/harbour

2010-02-27 Thread vszakats
Revision: 14017 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14017&view=rev Author: vszakats Date: 2010-02-27 23:20:29 + (Sat, 27 Feb 2010) Log Message: --- 2010-02-28 00:19 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/rddsql/sddoci/sdd

[Harbour] SF.net SVN: harbour-project:[14018] trunk/harbour

2010-02-27 Thread vouchcac
Revision: 14018 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14018&view=rev Author: vouchcac Date: 2010-02-28 00:01:37 + (Sun, 28 Feb 2010) Log Message: --- 2010-02-27 15:59 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) * contrib/hbqt/gtqtc/gtqtc.cp

[Harbour] Re: OS/2: Harbour 13976

2010-02-27 Thread Pritpal Bedi
David Arturo Macias Corona wrote: > > >> QFont::setPointSize: Point size <= 0 (0), must be greater than 0 > Please check after r14018. I am trying to gather logic the possible reason for other warning. - enjoy hbIDEing... Pritpal Bedi _a_student_of

[Harbour] SF.net SVN: harbour-project:[14019] trunk/harbour

2010-02-27 Thread vouchcac
Revision: 14019 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14019&view=rev Author: vouchcac Date: 2010-02-28 03:21:43 + (Sun, 28 Feb 2010) Log Message: --- 2010-02-27 19:16 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) * contrib/hbide/resources/har