Search found 173 matches: subclass

Return to advanced search

... 2, nBottom ) LineTo( hDC, nRight , nBottom ) SelectObject( hDC, hOld ) DeleteObject( hPen ) One solution is to create subclass of TWBrowse, copy WBrwLine and all methods which are calling WBrwLine (DrawLine, DrawSelect, Paint and LButtonDown) and then change WBrwLine ...
by modicr
Wed May 17, 2006 11:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Border around focused line in browse?
Replies: 8
Views: 1815

Milan, I did not attempt to modify DBCombo to handle numeric data. This will take considerable work and testing. DBCombo is a subclass of Combobox and Combobox cannot handle numeric data, so I'm not sure it can be done without creating a completely new control. So, the best way for you ...
by James Bott
Fri Feb 24, 2006 7:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to refresh DBCombo box ?
Replies: 20
Views: 6534

... add/edit methods in detail. The beauty of this approach is that you can create one class that does most of this, then you just need to create a subclass to add the specifics for each file (item, customer, etc.). Even simpler! Watch out for that Wicked Witch--she will lead you down the wrong ...
by James Bott
Wed Feb 22, 2006 8:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Is it possible to change a Resource Type on the fly?
Replies: 10
Views: 2375

As I expect you know, TCBrowse is a subclass of TWBrowse. aAction is eval'd in method lButtonDown in TWBrowse. In TCBrowse, the method has been completely rewritten and aAction is not used anywhere in the method. So, it looks like it will ...
by Enrico Maria Giordano
Fri Jan 20, 2006 8:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TCBrowse: clicking on headers
Replies: 10
Views: 3249

As I expect you know, TCBrowse is a subclass of TWBrowse. aAction is eval'd in method lButtonDown in TWBrowse. In TCBrowse, the method has been completely rewritten and aAction is not used anywhere in the method. So, it looks like it will require ...
by James Bott
Fri Jan 20, 2006 8:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TCBrowse: clicking on headers
Replies: 10
Views: 3249

... the artciles about building database objects. http://ourworld.compuserve.com/homepages/jbott/program.htm I will try to summarize them here. Make a subclass of TDatabase that contains methods add() and edit(). This makes your code much easier and also allows you to use polymorphism later. In this ...
by James Bott
Sat Jan 07, 2006 2:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Get validation using database object
Replies: 5
Views: 1816

... you receive the message. This is quite different from using a timer. ... do a little work ... PostMessage( oWnd:hWnd, WM_USER_DEFINED ) then you subclass TWindow and define Method HandleEvent(), that will check for WM_USER_DEFINED (see include\fwmsgs.h) and will perform again a little work and ...
by Antonio Linares
Wed Dec 28, 2005 8:00 am
 
Forum: FiveWin for CA-Clipper
Topic: Task priority
Replies: 3
Views: 1335

... and you need to keep in mind that if the user just wants to look at the data, the record is going to get locked. I highly recommend that you subclass the database class and use it in your program rather than calling TDatabase directly. This way if you decide to change the behavior of the ...
by James Bott
Sat Dec 10, 2005 10:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tdatabase Question
Replies: 2
Views: 1693
Previous

Return to advanced search

cron