Search found 173 matches: subclass

Return to advanced search

Re: FWH 13.05 xbrowse and fonts

... some informations from data to classdata in xbrowse so we can assign them once for all Two ways you can do this without modifying xBrowse. 1) Subclass xBrowse to your own class and use that class instead of TxBrowse in your app. create class MyxBrowse() from TxBrowse   method New()endclassMethod ...
by James Bott
Thu Jun 13, 2013 1:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 13.05 xbrowse and fonts
Replies: 20
Views: 4660

Re: VCard import

... so it would be better if those static functions were defined as protected methods. Then the class is still fully encapsulated and we can also subclass and use those methods if needed. And, of course, they won't affect the use of your library with the same routines as functions. Regards, James
by James Bott
Thu May 02, 2013 3:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: VCard import
Replies: 21
Views: 6457

Re: VCard import

I do wonder why you use static functions instead of protected methods? I have found static functions to be a problem when trying to subclass in other FW classes. Also, why the regular function instead of a protected method? You have raised very valid issues. First, let me answer these points ...
by nageswaragunupudi
Thu May 02, 2013 2:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: VCard import
Replies: 21
Views: 6457

Re: VCard import

... beat me to it. I do wonder why you use static functions instead of protected methods? I have found static functions to be a problem when trying to subclass in other FW classes. Also, why the regular function instead of a protected method? And, I haven't tested this yet, but it looks like your class ...
by James Bott
Thu May 02, 2013 2:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: VCard import
Replies: 21
Views: 6457

Re: Sending e-mail with CDO and SSL

... native email classes since they don't support SLL thus there are no native settings for SSL. At the least it would seem that you would have to subclass the TSMTP class to add the SLL settings. Regards, James
by James Bott
Wed Apr 03, 2013 8:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sending e-mail with CDO and SSL
Replies: 24
Views: 10286

Re: xBrowse TAB navigation wish

Subclassing xbrowse is the easiest of all. fwh\samples\xbrchild.prg explains how to subclass xbrowse.prg Once you have made your own subclass say TXBrowseRick, then at the beginning of your project SET XBROWSE TO TXBrowseRick() All xbrowse commands in your entire ...
by nageswaragunupudi
Fri May 04, 2012 4:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse TAB navigation wish
Replies: 7
Views: 1405

RichEdit - Mejorando la velocidad de coloreado

... Puede asustar en un principio pues está desarrollado en ensamblador (ouch!) :-) pero su autor tiene una interesante idea: hacer "subclass" del control RichEdit y hacer el coloreado él mismo. Bien, decidí pasarlo desde ensamblador a lenguaje C para probarlo. Algunas partes ...
by Antonio Linares
Tue Feb 28, 2012 12:14 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: RichEdit - Mejorando la velocidad de coloreado
Replies: 1
Views: 1171

RichEdit - speed up coloring

... It may result scaring at a first review as it is developed using assembler (ouch!) :-) but his author had a very interesting concept: to subclass RichEdit and do the coloring himself. Well, I decided to convert it from assembler to C to test it. Some code I implemented it myself, once ...
by Antonio Linares
Tue Feb 28, 2012 11:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RichEdit - speed up coloring
Replies: 1
Views: 2393

Re: Codejock Calendar

... class is written specifically to work with the databases of my application. It would be best to actually separate the calendar class and create a subclass for the application information, but frankly this was just easier. Use this as an example and modify it to meet your individual needs. http://www.masterlinksoftware.com/Views/tCodejock.prg ...
by TimStone
Wed Dec 07, 2011 5:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Codejock Calendar
Replies: 12
Views: 3901

Re: Contribution to Forum : new TTOOLTIP CLASS

... flag (you should also use the TTF_IDISHWND flag and set the hWnd of the tooltip window in the uID member of the TOOLINFO stucture). After that subclass this window and check for the WM_PRINT message in which case you should post a WM_PAINT message and return TRUE. Then do all the work of moving ...
by MdaSolution
Mon Aug 22, 2011 7:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Contribution to Forum : new TTOOLTIP CLASS
Replies: 5
Views: 1860

Re: dialog creation ..

I think it can be done, but you will have to write your own new control class to be able to do it. And you can't subclass from FW's tooltip because it isn't a separate class--it is static functions within another class. So you would have to start from scratch. The easier solution ...
by James Bott
Fri Aug 19, 2011 1:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: dialog creation ..
Replies: 18
Views: 3264

Re: autocomplete in get

... not a good idea to use ::Cargo, ::bPostKey, or ::bLostFocus in the class since these then cannot be used by the programmer. It would be better to subclass the needed methods and add whatever functionality needed. So, ::Cargo and ::bLostFocus were eliminated. Unfortuneately, not using ::bPostKey ...
by Maurizio
Thu Jun 23, 2011 4:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: autocomplete in get
Replies: 15
Views: 9769

Re: autocomplete in get

... in this mode the control is actually a GET object so the incremental searching has to be added to the get object. I think this might require a new subclass of the TGet class to add this capability. Then the subclass would be used in the TCombobox class. Also in both forms of the Combobox, all items ...
by James Bott
Wed Jun 22, 2011 12:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: autocomplete in get
Replies: 15
Views: 9769

XBROWSE WINDOWS SEVEN LIKE

... :=LINESTYLE_BLACK on Xbrowse like Windows Seven (oBrw:nMarqueeStyle = MARQSTYLE_HIGHLWIN7) ? on old xbrowse I could make it and use also the subclass for windows seven http://img857.imageshack.us/img857/1866/gggg.jpg with old version of xbrowse there are problems to save the ...
by Silvio
Fri Mar 11, 2011 10:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE WINDOWS SEVEN LIKE
Replies: 0
Views: 439

Re: xBrowse Font Size

Pressing Ctrl+ and Ctrl- changes data font size only. That is how it is programmed now. I also do not think anybody other than you noticed it. :)

If you like to change Header font size also, you need to subclass xbrowse and override the method FontSize(nPlus)
by nageswaragunupudi
Wed Feb 09, 2011 2:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Font Size
Replies: 2
Views: 491
PreviousNext

Return to advanced search

cron