Search found 28 matches: txbrows

Return to advanced search

Re: Setting a Standard

Better way is to use your own derived class for all your projects. Actually we advise not to use TXBrowse class directly. But to have your own derived class and use it across your projects. That's what I do too. A template for the derived class is given in \fwh\samples\xbrchild.prg. ...
by nageswaragunupudi
Fri Jul 19, 2013 12:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Setting a Standard
Replies: 6
Views: 1925

tDatabase

Hi Antonio I tried to compile database program and get the following database.o:(.data+0x8a8): undefined reference to `HB_FUN_NUMPICT' database.o:(.data+0x9b8): undefined reference to `HB_FUN_ANSITOOEM' database.o:(.data+0xb08): undefined reference to `HB_FUN_OEMTOANSI' database.o:(.data+0xeb8): und...
by Colin Haig
Tue Feb 12, 2013 11:04 pm
 
Forum: FiveLinux / FiveDroid (Android)
Topic: tDatabase
Replies: 2
Views: 1402

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 application will now refer to TXBrowseRick(). ...
by nageswaragunupudi
Fri May 04, 2012 4:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse TAB navigation wish
Replies: 7
Views: 1357

Re: TXBrwColumn : changing and restoring a method

... method of the column class. If so follow this template: //------------------------------------------------------------------//CLASS MyBrowse FROM TXBrowse   // please note these following two lines   CLASSDATA lRegistered AS LOGICAL // This is compulsory for derived classes   DATA bColClass INIT ...
by nageswaragunupudi
Sat Aug 13, 2011 7:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TXBrwColumn : changing and restoring a method
Replies: 11
Views: 1711

Re: TXBrwColumn : changing and restoring a method

Not recommended: TXBrowse():new() Recommended by FW TXBrows():new() TXBrows( bChild ) is now obsolete Instead use : SetXBrowse( bChild ) If we use command syntax, we never fail. They are correctly translated ...
by nageswaragunupudi
Fri Aug 12, 2011 8:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TXBrwColumn : changing and restoring a method
Replies: 11
Views: 1711

TXBrwColumn : changing and restoring a method

Hello,

I know how to change a method (in xharbour) , but how can it be restored in it's original method ?

I tryed something with TXBrows( {|| TXBrwChild() } ) and TXBrowse():new() , but no dialog is created.

Frank
by Demont Brecht
Fri Aug 12, 2011 8:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TXBrwColumn : changing and restoring a method
Replies: 11
Views: 1711

Re: XBrowse Win7 Bar New Sample

Rao,

When we write TXBrows():New( oWnd ), the message "New" is sent to the class object returned by TXBrows().


I should have thought of that. Thanks for the detailed explanation.

Regards,
James
by James Bott
Thu Jan 06, 2011 5:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse Win7 Bar New Sample
Replies: 61
Views: 13495

Re: XBrowse Win7 Bar New Sample

... interested in general advice about any better practices of coding for xbrowse, here are a few advices: a) It is desirable if you change all "TXBrowse():" as "TXBrows(". You can do it with many program editors in all programs at once and then rebuild your application. This change ...
by nageswaragunupudi
Thu Jan 06, 2011 4:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse Win7 Bar New Sample
Replies: 61
Views: 13495

Re: XBrowse Win7 Bar New Sample

Mr James, I still have been unable to find the source for TBrows():New(). Do you know where it is? There is no TXBrows class as such. TXBrows() is a function which returns the class object TXBrowse() by default. If we set a different browse class with the statement SetXBrowse( ...
by nageswaragunupudi
Thu Jan 06, 2011 4:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse Win7 Bar New Sample
Replies: 61
Views: 13495

Re: XBrowse Win7 Bar New Sample

oBrw:= TXBrowse():New( oWnd, nRow, nCol, ...) This is not correct. TXBrowse():New( oWnd ) also accepts only one parameter. It does NOT accept any other paramters TXBrows():New( oWnd ) is equivalent to TXBrowse():new( oWnd ) normally ...
by nageswaragunupudi
Thu Jan 06, 2011 4:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse Win7 Bar New Sample
Replies: 61
Views: 13495

Re: XBrowse Win7 Bar New Sample

Rao, Here is an important point. If one is creating a xbrowse using OOP syntax like this: oBrw:= TXBrowse():New( oWnd, nRow, nCol, ...) It cannot be just changed to: oBrw:= TXBrows():New( oWnd, nRow, nCol, ...) Since TXBrows():new() only accepts one parameter, oWnd. Converting ...
by James Bott
Thu Jan 06, 2011 1:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse Win7 Bar New Sample
Replies: 61
Views: 13495

Re: XBrowse Win7 Bar New Sample

Rao, TXBrows():new(oWnd) // not TXBrow() It is easier to change "TXBrowse(" to "TXBrows(" in one stroke in all sources with a single operation with any program editor. Anyway we are changing to what FWH recommends. ...
by James Bott
Thu Jan 06, 2011 1:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse Win7 Bar New Sample
Replies: 61
Views: 13495

Re: XBrowse Win7 Bar New Sample

OK, I see the advantage of using this syntax. However, for UKService, assuming he is currently using TXBrowse():New(), he would have to change all 200 of these to the TBrow() syntax. If he were to change the xbrowse.ch file, then he only needs to make one change. Also, you ...
by nageswaragunupudi
Wed Jan 05, 2011 6:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse Win7 Bar New Sample
Replies: 61
Views: 13495

Re: XBrowse Win7 Bar New Sample

Rao, 2. Or if Oops style is used browses are created by oBrw := TXBrows():New(...) but not TXBrowse():New() (As recommended by FWH) OK, I see the advantage of using this syntax. However, for UKService, assuming he is currently using TXBrowse():New(), he ...
by James Bott
Wed Jan 05, 2011 5:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse Win7 Bar New Sample
Replies: 61
Views: 13495

Re: XBrowse Win7 Bar New Sample

Rao, Please explain the advantage of using TXBrow() instead of TXBrowse():New(). I see that TXBrow() uses a codeblock to call TXBrowse() but I don't understand what the significance of that is. Regards, James Mr. James I hope my earlier posting answers ...
by nageswaragunupudi
Wed Jan 05, 2011 4:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse Win7 Bar New Sample
Replies: 61
Views: 13495
Next

Return to advanced search